CVE-2021-25745

published 6 May 2022 · updated 16 Sep 2024

Ingress-nginx path can be pointed to service account token file

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 the spec.rules[].http.paths[].path field of 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-25745 severity on Zeptric[![CVE-2021-25745](https://zeptric.io/badge/cve/CVE-2021-25745.svg)](https://zeptric.io/cve/CVE-2021-25745)