CVE-2020-8553:
ingress-nginx component for Kubernetes allows file overwrite
5.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53884%
CWE
Published
5/24/2022
Updated
8/22/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
k8s.io/ingress-nginx | go | < 0.28.0 | 0.28.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how ingress-nginx constructs filenames for basic auth secrets. The system combines namespace and secret names to create file paths without sufficient sanitization. When either contains hyphens, an attacker can craft malicious namespace/secret combinations that resolve to the same file path as another ingress' auth file. The createAuthFile function (or equivalent) would be directly responsible for this insecure path construction, matching CWE-73 (path control) and CWE-610 (cross-sphere reference). While exact code isn't available, the vulnerability pattern and ingress-nginx architecture strongly indicate this as the vulnerable component.