{"id":"CVE-2021-25746","published":"2022-05-06T00:50:15Z","modified":"2024-09-17T03:48:11Z","title":"Ingress-nginx directive injection via annotations","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 .metadata.annotations in 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.","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.01436,"percentile":0.73016,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubernetes/ingress-nginx/issues/8503","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220609-0006/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":14.6},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes ingress-nginx","versions":[">= unspecified, < 1.2.0"]}],"euvd":{"id":"EUVD-2021-12630","exploited":false,"provenance":"source"}}