{"id":"CVE-2020-8553","published":"2020-07-29T14:53:32Z","modified":"2024-08-04T10:03:46Z","title":"Kubernetes ingress-nginx Compromise of auth via subset/superset namespace names","vendor":"Kubernetes","product":"ingress-nginx","tier":"tail","description":{"text":"The Kubernetes ingress-nginx component prior to version 0.28.0 allows a user with the ability to create namespaces and to read and create ingress objects to overwrite the password file of another ingress which uses nginx.ingress.kubernetes.io/auth-type: basic and which has a hyphenated namespace or secret name.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00894,"percentile":0.60345,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/5126","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":12.07},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"ingress-nginx","versions":[">= unspecified, < 0.28.0"]}],"affected":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","vulnerableRanges":["<0.28.0"],"patched":["0.28.0"],"from":["GHSA-hhpm-74pm-hf35"],"provenance":"source"}],"summary":{"text":"The Kubernetes ingress-nginx component of the ingress-nginx product, prior to version 0.28.0, contains a flaw in how basic-auth password files are handled, where an ingress that uses basic authentication can have its password file overwritten. An attacker who holds privileges to create namespaces and to read and create ingress objects, and who targets an ingress whose namespace or secret name contains a hyphen, could overwrite the password file of another ingress to compromise its authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:27Z"},"euvd":{"id":"EUVD-2022-4162","exploited":false,"provenance":"source"}}