CVE-2021-25746: kubernetes ingress-nginx Improper Input Validation
Vulnerability summary
CVE-2021-25746 is a high (CVSS 7.6) Improper Input Validation vulnerability in kubernetes ingress-nginx. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.
Timeline
- 06-05-2022PublishedVulnerability first disclosed.
- 17-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 .metadata.annotations in 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
3 scores · 2 sources · 2 versions- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NDiffers
EPSS trend
Probability
1.44%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
+0.02 pp
From 1.41% 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
1 vendor · 2 products
References
3 links- groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQX Refsource MISCIssue TrackingMitigationThird Party Advisory
- github.com/kubernetes/ingress-nginx/issues/8503X Refsource MISCIssue TrackingMitigationThird Party Advisory