Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
CVE-2021-25742
Key Information:
- Vendor
Kubernetes
- Status
- CVE ID
- CVE ID:
- CVE-2021-25742
- Vendor
- CVE Published:
- 29 October 2021
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Kubernetes Ingress-nginx. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (7.6).
What is 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.
Affected Version(s)
Kubernetes ingress-nginx <= 0.49.0
Kubernetes ingress-nginx <= 1.0.0
References
More Kubernetes Vulnerabilities
Denial of Service in ingress-nginx
Path Traversal Vulnerability in Kubernetes CSI Driver for NFS
Code Injection in Ingress-nginx
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction