7.6
CWE
20
Advisory Published
Updated

CVE-2021-25742: Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces

First published: Fri Oct 29 2021(Updated: )

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.

Credit: jordan@liggitt.net

Affected SoftwareAffected VersionHow to fix
Kubernetes ingress-nginx<0.49.1
Kubernetes ingress-nginx=1.0.0
Netapp Trident

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203