{"id":"GHSA-pvmg-xgmx-9mxh","summary":"Improper Input Validation in k8s.io/ingress-nginx","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.","aliases":["CVE-2021-25745"],"modified":"2026-07-17T21:11:12.070584297Z","published":"2022-05-07T00:00:49Z","database_specific":{"github_reviewed_at":"2022-05-25T19:29:51Z","nvd_published_at":"2022-05-06T01:15:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745"},{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/8502"},{"type":"PACKAGE","url":"https://github.com/kubernetes/ingress-nginx"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220609-0006"}],"affected":[{"package":{"name":"k8s.io/ingress-nginx","ecosystem":"Go","purl":"pkg:golang/k8s.io/ingress-nginx"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pvmg-xgmx-9mxh/GHSA-pvmg-xgmx-9mxh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}