{"id":"BIT-nginx-ingress-controller-2021-25745","summary":"Ingress-nginx path can be pointed to service account token file","details":"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.","modified":"2026-05-20T08:11:53.551998697Z","published":"2024-03-06T10:59:18.566Z","withdrawn":"2026-05-20T08:00:04.577825330Z","database_specific":{"cpes":["cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/8502"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220609-0006/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745"}],"affected":[{"package":{"name":"nginx-ingress-controller","ecosystem":"Bitnami","purl":"pkg:bitnami/nginx-ingress-controller"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/nginx-ingress-controller/BIT-nginx-ingress-controller-2021-25745.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}],"schema_version":"1.7.3"}