{"id":"CVE-2021-25742","aliases":["CVE-2021-25742"],"related":[],"kind":"vulnerability","state":"published","title":"Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema de seguridad en ingress-nginx donde un usuario que puede crear o actualizar objetos de entrada puede usar la función de fragmentos personalizados para obtener todos los secretos del clúster","source":"nvd"}],"published":"2021-10-29T04:05:10.713Z","modified":"2026-06-17T03:42:23.243Z","severity":{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"0.49.0","status":"affected"},{"type":"custom","introduced":"next of 0.49.0","fixed":"unspecified","status":"unknown"},{"type":"custom","introduced":"unspecified","lastAffected":"1.0.0","status":"affected"},{"type":"custom","introduced":"next of 1.0.0","fixed":"unspecified","status":"unknown"}],"vendor":"Kubernetes","product":"Kubernetes ingress-nginx","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.49.1"},{"status":"affected","version":"1.0.0"}],"vendor":"kubernetes","product":"ingress-nginx","cpe":"cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"trident","cpe":"cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY","tags":["mailing-list","mitigation","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/kubernetes/ingress-nginx/issues/7837","tags":["exploit","issue-tracking","mitigation","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20211203-0001/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Mitch Hulscher"],"assigner":"kubernetes","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25742","url":"https://www.cve.org/CVERecord?id=CVE-2021-25742","licence":"CVE Terms of Use","modified":"2024-09-16T23:06:12.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25742","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25742","licence":"Public domain","modified":"2026-06-17T03:42:23.243Z"}],"updatedAt":"2026-11-25T22:58:05.269Z","epss":{"score":0.02106,"percentile":0.82279,"date":"2026-12-01T12:00:22.000Z"}}