CVE-2021-25742: Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
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 Software
Event History
Frequently Asked Questions
What is CVE-2021-25742?
CVE-2021-25742 is a security issue 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.
What software is affected by CVE-2021-25742?
Kubernetes ingress-nginx versions up to 0.49.1 and version 1.0.0, as well as Netapp Trident, are affected by CVE-2021-25742.
What is the severity of CVE-2021-25742?
CVE-2021-25742 has a severity rating of 7.1 (high).
How can an attacker exploit CVE-2021-25742?
An attacker with the ability to create or update ingress objects can exploit CVE-2021-25742 by using the custom snippets feature to gain access to all secrets in the cluster.
Are there any references for CVE-2021-25742?
Yes, you can find more information about CVE-2021-25742 in the following references: [Link 1](https://github.com/kubernetes/ingress-nginx/issues/7837), [Link 2](https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY), [Link 3](https://security.netapp.com/advisory/ntap-20211203-0001/).