CVE-2020-8557

Kubernetes node disk Denial of Service by writing to container /etc/hosts

MEDIUM
5.5
CVSS Score
Published: July 23, 2020 at 04:59 PM UTC
Updated: June 17, 2026 at 03:26 AM UTC
1 product affected across 1 vendorKubernetes

Using Kubernetes by Kubernetes?

Get instant alerts when new vulnerabilities affect Kubernetes - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.16.131.16 ≤ v < 1.16.131.17 ≤ v < 1.17.91.17.0 ≤ v < 1.17.91.18 ≤ v < 1.18.61.18.0 ≤ v < 1.18.61.11.101.111.121.131.141.151.161.171.181.21.31.41.51.61.71.81.9
Affected range stops below 1.16.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.17.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.18.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
https://github.com/kubernetes/kubernetes/issues/93032

CVSS

5.5MEDIUMkubernetes
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card