Description
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.
Vulnerability type
CWE-610
Externally Controlled Reference to a Resource in Another Sphere
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
Impact on systems
| Scope | Impact |
| Confidentiality, Integrity |
Read Application Data, Modify Application Data An adversary could read or modify data, depending on how the resource is intended to be used. |
| Access Control |
Gain Privileges or Assume Identity An adversary that can supply a reference to an unintended resource can potentially access a resource that they do not have privileges for, thus bypassing existing access control mechanisms. |
All 228 CWE-610 CVEs, with trend and prevention