{"cve":"CVE-2021-25745","nvd":{"published":"2022-05-06T01:15:09.047","modified":"2026-06-17T03:42:23.500","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-20"],"references":["https://github.com/kubernetes/ingress-nginx/issues/8502","https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc","https://security.netapp.com/advisory/ntap-20220609-0006/","https://github.com/kubernetes/ingress-nginx/issues/8502","https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc"],"products":["kubernetes:ingress-nginx"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2021-25745","score":0.01182,"percentile":0.67758,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-pvmg-xgmx-9mxh","url":"https://osv.dev/vulnerability/GHSA-pvmg-xgmx-9mxh","summary":"Improper Input Validation in k8s.io/ingress-nginx","modified":"2026-08-07T08:12:06.631396625Z","packages":[{"ecosystem":"Go","name":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","ranges":["<1.2.0"],"fixed":["1.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}