Improper input validation in Kubernetes Ingress-Nginx
CVE-2021-25748
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
EPSS exploit prediction
EPSS 0.007, 53.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes Ingress-Nginx
- Kubernetes Ingress-Nginx — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (cloud-Xolt/CVE). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 (Mailing List, Mitigation, Vendor Advisory)
- github.com/kubernetes/ingress-nginx/issues/8686 (Mitigation, Issue Tracking, Vendor Advisory)