MEDIUM5.9
GHSA-hhpm-74pm-hf35
ingress-nginx component for Kubernetes allows file overwrite
Quick fix
GHSA-hhpm-74pm-hf35 — k8s.io/ingress-nginx: upgrade to the fixed version with the command below.
go get k8s.io/ingress-nginx@v0.28.0Details
The Kubernetes ingress-nginx component prior to version 0.28.0 allows a user with the ability to create namespaces and to read and create ingress objects to overwrite the password file of another ingress which uses nginx.ingress.kubernetes.io/auth-type: basic and which has a hyphenated namespace or secret name.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/k8s.io/ingress-nginx"]}'