CVE-2020-8557
Summary
| CVE | CVE-2020-8557 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-07-23 17:15:00 UTC |
| Updated | 2023-01-27 20:35:00 UTC |
| Description | The Kubernetes kubelet component in versions 1.1-1.16.12, 1.17.0-1.17.8 and 1.18.0-1.18.5 do not account for disk usage by a pod which writes to its own /etc/hosts file. The /etc/hosts file mounted in a pod by kubelet is not included by the kubelet eviction manager when calculating ephemeral storage usage by a pod. If a pod writes a large amount of data to the /etc/hosts file, it could fill the storage space of the node and cause the node to fail. |
Risk And Classification
Problem Types: CWE-400
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Kubernetes | Kubernetes | All | All | All | All |
| Application | Kubernetes | Kubernetes | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2020-8557 Kubernetes Vulnerability in NetApp Products | NetApp Product Security | CONFIRM | security.netapp.com | |
| [Security Advisory] CVE-2020-8557: Node disk DOS by writing to container /etc/hosts | MLIST | groups.google.com | Mailing List, Third Party Advisory |
| CVE-2020-8557: Node disk DOS by writing to container /etc/hosts · Issue #93032 · kubernetes/kubernetes · GitHub | CONFIRM | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Kebe Liu of DaoCloud
Legacy QID Mappings
- 239750 Red Hat OpenShift Container Platform 542 Security Update (RHSA-2021:3915)
- 376727 Kubernetes Kubelet Node Disk Denial of Service (DoS) Vulnerability
- 377853 Kubernetes Kublet Node Disk Denial of Service (DoS) Vulnerability
- 501593 Alpine Linux Security Update for k3s
- 6140242 AWS Bottlerocket Security Update for Kubernetes (GHSA-fpgg-9xgf-f2wm)
- 770036 Red Hat OpenShift Container Platform 4.5.7 Packages Security Update (RHSA-2020:3519)
- 770037 Red Hat OpenShift Container Platform 4.4.19 Security Update (RHSA-2020:3579)
- 770038 Red Hat OpenShift Container Platform 4.3.38 Security Update (RHSA-2020:3808)
- 900220 CBL-Mariner Linux Security Update for kubernetes 1.16.10