Vulnerability · Published Oct 29, 2021 · Assigned by kubernetes
CVE-2021-25742Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
High 7.6
In plain English
A high-severity improper input validation in Kubernetes ingress-nginx from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities).
Severity (CVSS 3.1)7.6High
Exploit odds (30 days)2.1%top 18.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes ingress-nginx | unspecified – through 0.49.0unspecified – through 1.0.0 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
References
- https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY x_refsource_MISC
- https://github.com/kubernetes/ingress-nginx/issues/7837 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20211203-0001/ x_refsource_CONFIRM