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 (51.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 51.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Kubernetes Ingress-Nginx
- Kubernetes Ingress-Nginx — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2021-25748?
- CVE-2021-25748 is a high-severity vulnerability in Kubernetes Ingress-Nginx, classified under Improper Input Validation. CVSS score: 7.6/10. Published 2023-05-24.
- How severe is CVE-2021-25748?
- High severity. CVSS v3 base score is 7.6 out of 10.
- Is CVE-2021-25748 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.