{"id":"CVE-2021-25742","published":"2021-10-29T04:05:10Z","modified":"2024-09-16T23:06:12Z","title":"Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces","vendor":"Kubernetes","product":"Kubernetes ingress-nginx","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02106,"percentile":0.82401,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubernetes/ingress-nginx/issues/7837","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20211203-0001/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":16.48},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes ingress-nginx","versions":[">= unspecified, <= 0.49.0",">= unspecified, <= 1.0.0"]}],"workarounds":{"items":["This can be mitigated by disallowing snippet annotations on a supported version. Refer to https://github.com/kubernetes/ingress-nginx/issues/7837 for instructions."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2021-12628","exploited":false,"provenance":"source"}}