{"id":"CVE-2021-25745","aliases":["EUVD-2022-4829","GHSA-pvmg-xgmx-9mxh","openSUSE-SU-2024:12031-1"],"status":"published","title":"Ingress-nginx path can be pointed to service account token file","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.","severity":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01182,"percentile":0.68004,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2022-05-06T00:50:14Z","modified":"2026-10-20T10:54:33Z","fixes":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","fixed_in":["1.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"rke","fixed_in":["1.3.10-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"k8s.io/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"Go","package":"k8s.io/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"rke","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.10-1.1"}]}]}],"products":[{"vendor":"kubernetes","product":"ingress-nginx"},{"vendor":"kubernetes","product":"kubernetes ingress-nginx"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Mailing List","Mitigation","Third Party Advisory","report","web"]},{"url":"https://github.com/kubernetes/ingress-nginx/issues/8502","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Mitigation","Third Party Advisory","report","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220609-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pvmg-xgmx-9mxh"},{"url":"https://github.com/kubernetes/ingress-nginx","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20220609-0006","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-25745","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-25745","title":"Ingress-nginx path can be pointed to service account token file","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.","status":"published","published":"2022-05-06T00:50:14.042Z","modified":"2024-09-16T18:24:11.711Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2022-4829","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.","status":"published","published":"2022-05-06T00:50:14Z","modified":"2024-09-16T18:24:11Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T00:55:32.945265Z"}],"ghsa":[{"id":"GHSA-pvmg-xgmx-9mxh","title":"Improper Input Validation in k8s.io/ingress-nginx","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.","status":"published","published":"2022-05-07T00:00:49Z","modified":"2023-01-27T05:02:14Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2021-25745","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.","status":"published","published":"2022-05-06T01:15:09.047Z","modified":"2026-06-17T03:42:23.5Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"CVE-2021-25745","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.","status":"published","published":"2022-05-06T01:15:09.047Z","modified":"2026-10-20T10:54:33.75615636Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-pvmg-xgmx-9mxh","title":"Improper Input Validation in k8s.io/ingress-nginx","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.","status":"published","published":"2022-05-07T00:00:49Z","modified":"2026-08-07T08:12:06.631396625Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"openSUSE-SU-2024:12031-1","title":"rke-1.3.10-1.1 on GA media","description":"These are all security issues fixed in the rke-1.3.10-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:55:11.34547Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
