{"id":"CVE-2021-25745","aliases":["GHSA-pvmg-xgmx-9mxh"],"title":"Improper Input Validation in k8s.io/ingress-nginx","summary":"Improper Input Validation in k8s.io/ingress-nginx","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","vendor":"ingress-nginx","product":"k8s.io/ingress-nginx","ecosystem":"go","affected":["k8s.io/ingress-nginx < 1.2.0"],"patched":["k8s.io/ingress-nginx 1.2.0"],"published":"2022-05-07","updated":"2026-08-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-pvmg-xgmx-9mxh","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745"},{"url":"https://github.com/kubernetes/ingress-nginx/issues/8502"},{"url":"https://github.com/kubernetes/ingress-nginx"},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc"},{"url":"https://security.netapp.com/advisory/ntap-20220609-0006"}],"tags":["osv","go"],"epss":0.01164,"epssPercentile":0.65897,"ingestedAt":"2026-08-07T19:14:17.467Z","slug":"CVE-2021-25745","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `k8s.io/ingress-nginx < 1.2.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `k8s.io/ingress-nginx 1.2.0`","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}