← Back to CVEs
CVE-2021-25748
HIGH7.6
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of the `spec.rules[].http.paths[].path` field of an Ingress object (in the `networking.k8s.io` or `extensions` API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
CVE Details
CVSS v3.1 Score7.6
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published5/24/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
kubernetes:ingress-nginx
Weaknesses (CWE)
CWE-20
References
https://github.com/kubernetes/ingress-nginx/issues/8686(jordan@liggitt.net)
https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8(jordan@liggitt.net)
https://github.com/kubernetes/ingress-nginx/issues/8686(af854a3a-2127-422b-91ae-364da2661108)
https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.