Vulnerability record · CVE-2021-25742 · published 29 October 2021
CVE-2021-25742: Kubernetes ingress-nginx improper input validation vulnerability
Kubernetes · Ingress Nginx
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/kubernetes/ingress-nginx/issues/7837 | ExploitIssue TrackingMitigationThird Party Advisory |
| https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY | Mailing ListMitigationThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20211203-0001/ | Third Party Advisory |
| https://github.com/kubernetes/ingress-nginx/issues/7837 | ExploitIssue TrackingMitigationThird Party Advisory |
| https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY | Mailing ListMitigationThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20211203-0001/ | Third Party Advisory |
Track CVE-2021-25742 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-25742), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.