CVE-2021-25745: kubernetes ingress-nginx Improper Input Validation
Vulnerability summary
CVE-2021-25745 is a high (CVSS 8.1) Improper Input Validation vulnerability in kubernetes ingress-nginx. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 5Timeline
- 06-05-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use 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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.02 pp
From 1.16% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Kubernetes2 products
- ingress-nginx< 1.2.0
- kubernetes ingress-nginx≥ unspecified, < 1.2.0
K8s.io1 product
- ingress-nginx< 1.2.0
Opensuse1 product
- rke&distro=openSUSE Tumbleweed< 1.3.10-1.1
3 vendors · 4 products
References
7 links- groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlcX Refsource MISCWEBIssue TrackingMailing ListMitigationThird Party Advisory
- github.com/kubernetes/ingress-nginx/issues/8502X Refsource MISCWEBIssue TrackingMitigationThird Party Advisory