CVE-2020-8557

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

Published Jul 23, 2020 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1098 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.
Github GHSA Github GHSA GHSA-55qj-gj3x-jq9r Denial of service in Kubernetes
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 17, 2024, 3:14 AM
Reserved
Feb 3, 2020, 12:00 AM
Status
Modified
Published
Jul 23, 2020, 5:15 PM
Modified
Jun 17, 2026, 3:26 AM
Severity
Moderate
Public date
Jul 15, 2020, 12:00 AM