CVE-2021-25746

published 6 May 2022 · updated 17 Sep 2024

Ingress-nginx directive injection via annotations

7.6HighCVSS 7.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.2.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Kubernetes<1.2.01.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25746 severity on Zeptric[![CVE-2021-25746](https://zeptric.io/badge/cve/CVE-2021-25746.svg)](https://zeptric.io/cve/CVE-2021-25746)