CVE-2021-25746: Ingress-nginx directive injection via annotations

Published May 6, 2022
·
Updated

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.

Affected Software

1 affected component
Kubernetes ingress-nginx<1.2.0

Event History

May 6, 2022
CVE Published
via MITRE·12:50 AM
Data Sourced
via MITRE·12:50 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-25746?

CVE-2021-25746 is a security issue discovered in ingress-nginx that allows a user to obtain the credentials of the ingress-nginx controller.

2

How does CVE-2021-25746 impact Kubernetes ingress-nginx?

CVE-2021-25746 allows a user that can create or update ingress objects to access the credentials of the ingress-nginx controller.

3

What is the severity of CVE-2021-25746?

CVE-2021-25746 has a severity rating of 7.1 (high).

4

How can I fix CVE-2021-25746 in Kubernetes ingress-nginx?

To fix CVE-2021-25746, update ingress-nginx to a version higher than 1.2.0.

5

Where can I find more information about CVE-2021-25746?

More information about CVE-2021-25746 can be found in the references provided: [link 1], [link 2], [link 3].

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203