High severity · published Oct 29, 2021
CVE-2021-25742
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
7.1
CVSS
2.1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IN
Ingress-nginx · Kubernetes
before 0.49.1; 1.0.0 · source: NVD
TR
Trident · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-25742
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-25742
Exploit
https://github.com/kubernetes/ingress-nginx/issues/7837
Mailing List
https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY
Third Party Advisory
https://security.netapp.com/advisory/ntap-20211203-0001/
More from Ingress-nginx
8.8
CVE-2026-4342
ingress-nginx comment-based nginx configuration injection
8.8
CVE-2026-3288
ingress-nginx rewrite-target nginx configuration injection
8.8
CVE-2023-5044
Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation
8.8
CVE-2023-5043
Ingress nginx annotation injection causes arbitrary command execution
8.1
CVE-2021-25745
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…
