CVE-2020-8557Uncontrolled Resource Consumption in Kubernetes

Severity
5.5MEDIUMNVD
EPSS
0.1%
top 70.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 23
Latest updateJun 10

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

Gok8s.io/kubernetes_pkg_kubelet1.1.01.16.13+2
Gok8s.io/kubernetes1.1.01.16.13+2
CVEListV5kubernetes/kubernetes1.181.18.6+17
NVDkubernetes/kubernetes1.17.01.17.9+2
Debiankubernetes/kubernetes< 1.18.5-1+3

Patches

🔴Vulnerability Details

5
OSV
Denial of service in Kubernetes in k8s.io/kubernetes2024-06-10
GHSA
Denial of service in Kubernetes2024-04-24
OSV
Denial of service in Kubernetes2024-04-24
OSV
CVE-2020-8557: The Kubernetes kubelet component in versions 12020-07-23
CVEList
Kubernetes node disk Denial of Service by writing to container /etc/hosts2020-07-23

📋Vendor Advisories

2
Red Hat
kubernetes: Node disk DOS by writing to container /etc/hosts2020-07-15
Debian
CVE-2020-8557: kubernetes - The Kubernetes kubelet component in versions 1.1-1.16.12, 1.17.0-1.17.8 and 1.18...2020

💬Community

2
Bugzilla
CVE-2020-8557 origin: kubernetes: Node disk DOS by writing to container /etc/hosts [fedora-all]2020-07-15
Bugzilla
CVE-2020-8557 kubernetes: Node disk DOS by writing to container /etc/hosts2020-05-14
CVE-2020-8557 — Uncontrolled Resource Consumption | cvebase