VDB

CVE-2020-8557

CVE-2020-8557 PUBLISHED CVSS 5.5 MEDIUM

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

Reported by kubernetes · Published July 23, 2020

k8s.io/kubernetes/pkg/kubelet is fixed in 1.18.6, 1.17.9 and 1.16.13 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
k8s.io/kubernetes/pkg/kubeletGo Modules1.18.6, 1.17.9, 1.16.13
github.com/kubernetes/kubeletGo Modulesv1.18.6, v1.17.9, v1.16.13, 1.18.6, 1.17.9
k8s.io/kubernetesGo Modules1.18.6, 1.17.9, 1.16.13
k8s.io/kubernetes/pkg/apis/apps/validationGo Modules1.18.6, 1.17.9, 1.16.13
k3sAlpine1.18.6.1-r0
kuberneteskubernetes1.18.6, 1.17.9, 1.16.13

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
KubernetesKubernetes1.15, 1.14, 1.13
k8s.iokubernetes/pkg/kubelet1.1.0, 1.18.0, 1.17.0
alpinek3s0
k8s.iokubernetes/pkg/apis/apps/validation1.18.0, 1.17.0, 0
KubernetesKubernetes1.13, 1.12, 1.11
github.comkubernetes/kubelet0, 1.18.0, 1.17.0

Timeline

  • Jul 22, 2020 PoC Published
  • Jul 23, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8557
vulnetix vdb fixes CVE-2020-8557

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8557/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›