CVE-2020-8557

published 23 Jul 2020 · updated 17 Sep 2024

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.16.13, 1.17.9 and 1.18.6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Kubernetes=1.1, =1.10, =1.11, =1.12, =1.13, =1.14, =1.15, =1.2, =1.3, =1.4, =1.5, =1.6, =1.7, =1.8, =1.9, >=1.16 <1.16.13, >=1.17 <1.17.9, >=1.18 <1.18.61.16.13, 1.17.9, 1.18.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-8557 severity on Zeptric[![CVE-2020-8557](https://zeptric.io/badge/cve/CVE-2020-8557.svg)](https://zeptric.io/cve/CVE-2020-8557)