{"id":"CVE-2020-8553","aliases":["GHSA-hhpm-74pm-hf35"],"summary":"Kubernetes ingress-nginx Compromise of auth via subset/superset namespace names","published_at":"2020-02-19T19:00:32Z","modified_at":"2026-08-07T08:12:13.166392Z","products":[{"slug":"ingress-nginx","name":"Ingress-NGINX","category":"kubernetes-container"}],"rating":{"severity":"medium","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008940000087022781,"percentile":0.6022199988365173,"date":"2026-11-19T00:00:00Z"},"priority":6.9,"record_count":4,"vendors":["GitHub","Kubernetes"],"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"Kubernetes/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"cvelistv5","source":"CVE-2020-8553","relation":"self"},{"ecosystem":"Go","package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"osv","source":"GHSA-hhpm-74pm-hf35","relation":"self"},{"ecosystem":"NVD","package":"kubernetes:ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"nvd","source":"CVE-2020-8553","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-8553","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-8553","license":"CC-BY-4.0","published_at":"2020-07-29T14:53:32Z","modified_at":"2024-08-04T10:03:46.369Z","summary":"Kubernetes ingress-nginx Compromise of auth via subset/superset namespace names","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2020-8553"}],"affected":[{"ecosystem":"CVE","package":"Kubernetes/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"cvelistv5","source":"CVE-2020-8553","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/5126"}]},{"provider":"kubernetes-cve-feed","source_id":"CVE-2020-8553","relation":"self","url":"https://github.com/kubernetes/kubernetes/issues/126818","license":"CC-BY-4.0","published_at":"2020-02-19T19:00:32Z","summary":"ingress-nginx auth-type basic annotation vulnerability","details":"A security issue was discovered in ingress-nginx versions older than v0.28.0. The issue is of medium severity, and upgrading is encouraged to fix the vulnerability.\r\n\r\n**Am I vulnerable?**\r\n\r\nThe vulnerability exists only if the annotation [nginx.ingress.kubernetes.io/auth-type: basic](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#authentication) is used.\r\n\r\n**How do I upgrade?**\r\n\r\nFollow installation instructions [here](https://kubernetes.github.io/ingress-nginx/deploy/upgrade/)\r\n\r\n**Vulnerability Details**\r\n\r\nA vulnerability has been discovered where a malicious user could create a new Ingress definition resulting in the replacement of the password file. The vulnerability requires that the victim namespace and/or secret use a hyphen in the name.\r\n\r\nThis scenario requires privileges in the cluster to create and read ingresses and also create secrets.\r\n\r\nThis issue is filed as CVE-2020-8553.\r\n\r\n/close","severity":[],"affected":[],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/kubernetes/kubernetes/issues/126818"},{"type":"ADVISORY","url":"https://www.cve.org/cverecord?id=CVE-2020-8553"},{"type":"ADVISORY","url":"https://groups.google.com/g/kubernetes-announce/search?q=CVE-2020-8553"}]},{"provider":"nvd","source_id":"CVE-2020-8553","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8553","severity":[],"affected":[{"ecosystem":"NVD","package":"kubernetes:ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"nvd","source":"CVE-2020-8553","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-hhpm-74pm-hf35","relation":"self","url":"https://osv.dev/vulnerability/GHSA-hhpm-74pm-hf35","license":"CC-BY-4.0","published_at":"2022-05-24T17:24:40Z","modified_at":"2026-08-07T08:12:13.166392Z","summary":"ingress-nginx component for Kubernetes allows file overwrite","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"GHSA-hhpm-74pm-hf35"}],"affected":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"fixed":["0.28.0"],"provider":"osv","source":"GHSA-hhpm-74pm-hf35","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8553"},{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/5126"},{"type":"PACKAGE","url":"https://github.com/kubernetes/ingress-nginx"}]}],"references":[{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/5126"},{"type":"ADVISORY","url":"https://github.com/kubernetes/kubernetes/issues/126818"},{"type":"ADVISORY","url":"https://www.cve.org/cverecord?id=CVE-2020-8553"},{"type":"ADVISORY","url":"https://groups.google.com/g/kubernetes-announce/search?q=CVE-2020-8553"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8553"},{"type":"PACKAGE","url":"https://github.com/kubernetes/ingress-nginx"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-8553","url":"https://www.cve.org/CVERecord?id=CVE-2020-8553","license":"CC-BY-4.0","modified_at":"2024-08-04T10:03:46.369Z","relation":"self"},{"provider":"kubernetes-cve-feed","source_id":"CVE-2020-8553","url":"https://github.com/kubernetes/kubernetes/issues/126818","license":"CC-BY-4.0","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-8553","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8553","relation":"self"},{"provider":"osv","source_id":"GHSA-hhpm-74pm-hf35","url":"https://osv.dev/vulnerability/GHSA-hhpm-74pm-hf35","license":"CC-BY-4.0","modified_at":"2026-08-07T08:12:13.166392Z","relation":"self"}]}
