{"id":"CVE-2021-25742","aliases":["EUVD-2021-12628","GHSA-4pp2-3663-mcw8","openSUSE-SU-2024:11726-1"],"status":"published","title":"Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain 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-11","score":0.02067,"percentile":0.81651,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2021-10-29T04:05:10Z","modified":"2026-10-20T10:54:33Z","fixes":[{"ecosystem":"openSUSE:Tumbleweed","package":"rke","fixed_in":["1.3.3-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"rke","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3-1.1"}]}]}],"products":[{"vendor":"kubernetes","product":"ingress-nginx"},{"vendor":"kubernetes","product":"kubernetes ingress-nginx"},{"vendor":"netapp","product":"trident"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY","tags":["x_refsource_MISC","x_transferred","Mailing List","Mitigation","Third Party Advisory","advisory"]},{"url":"https://github.com/kubernetes/ingress-nginx/issues/7837","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Mitigation","Third Party Advisory","report"]},{"url":"https://security.netapp.com/advisory/ntap-20211203-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25742"},{"url":"https://github.com/advisories/GHSA-4pp2-3663-mcw8"},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-25742","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-25742","title":"Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.","status":"published","published":"2021-10-29T04:05:10.713Z","modified":"2024-09-16T23:06:12.392Z","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-2021-12628","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.","status":"published","published":"2021-10-29T04:05:10Z","modified":"2024-09-16T23:06:12Z","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:54:56.752396Z"}],"ghsa":[{"id":"GHSA-4pp2-3663-mcw8","title":"A security issue was discovered in ingress-nginx where a user that can create or update ingress...","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.","status":"published","published":"2022-05-24T19:19:14Z","modified":"2023-01-30T05:03:30Z","updated_at":"2026-11-02T14:46:50.963031Z"}],"nvd":[{"id":"CVE-2021-25742","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.","status":"published","published":"2021-10-29T04:15:08.22Z","modified":"2026-06-17T03:42:23.243Z","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":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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:00.549994Z"}],"osv":[{"id":"CVE-2021-25742","description":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.","status":"published","published":"2021-10-29T04:15:08.22Z","modified":"2026-10-20T10:54:33.753521921Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"openSUSE-SU-2024:11726-1","title":"rke-1.3.3-1.1 on GA media","description":"These are all security issues fixed in the rke-1.3.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:24:53.932309Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
