Skip to content
Noroxi
CVE-2020-8557· NVD / CVE Program· CNA kubernetes

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

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.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Jul 23, 2020
Updated
Jun 16, 2026
EPSS
0.5% · 41th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CNA vs NVD score

NVD
5.5
CNA · kubernetes
5.5
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
kuberneteskubernetes

Using kubernetes? Add it to your stack and be the first to know about CVEs like this one. (Kubernetes)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • kubernetes kubernetesbefore 1.16.13
  • kubernetes kubernetes1.17.0 and later · before 1.17.9
  • kubernetes kubernetes1.18.0 and later · before 1.18.6

Versions reported by the vendor

Affected version ranges reported by the assigning authority (kubernetes). Independent of NVD's CPE analysis and usually ahead of it.

  • Kubernetes Kubernetes

    • 1.15, 1.14, 1.13, 1.12, 1.11, 1.10, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4 … (+3)affected
    • 1.18 and later · before 1.18.6affected
    • 1.17 and later · before 1.17.9affected
    • 1.16 and later · before 1.16.13affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12kubernetesbefore 1.18.5-11.18.5-1
Gok8s.io/kubernetesfrom 1.1.0 · before 1.16.131.16.13
Gok8s.io/kubernetesfrom 1.17.0 · before 1.17.91.17.9
Gok8s.io/kubernetesfrom 1.18.0 · before 1.18.61.18.6
Gok8s.io/kubernetes/pkg/kubeletfrom 1.1.0 · before 1.16.131.16.13
Gok8s.io/kubernetes/pkg/kubeletfrom 1.17.0 · before 1.17.91.17.9
Gok8s.io/kubernetes/pkg/kubeletfrom 1.18.0 · before 1.18.61.18.6
openSUSE:Tumbleweedgovulncheck-vulndbbefore 0.0.20250807T150727-1.10.0.20250807T150727-1.1
Red Hat:openshift:3.11::el7atomic-openshiftbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-clientsbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-clients-redistributablebefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-docker-excluderbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-excluderbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-hyperkubebefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-hypershiftbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-masterbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-nodebefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-podbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-sdn-ovsbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-template-service-brokerbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:3.11::el7atomic-openshift-testsbefore 0:3.11.542-1.git.0.f2fd300.el70:3.11.542-1.git.0.f2fd300.el7
Red Hat:openshift:4.3::el7jenkinsbefore 0:2.235.5.1600415514-1.el70:2.235.5.1600415514-1.el7
Red Hat:openshift:4.3::el8openshiftbefore 0:4.3.37-202009120213.p0.git.0.dffefe4.el80:4.3.37-202009120213.p0.git.0.dffefe4.el8
Red Hat:openshift:4.3::el8openshift-hyperkubebefore 0:4.3.37-202009120213.p0.git.0.dffefe4.el80:4.3.37-202009120213.p0.git.0.dffefe4.el8

+10

Other highest-scoring records for the same primary product.

  • CVE-2018-1002105In all Kubernetes versions prior to v1.10.11, v1.11.5, and v1.12.3, incorrect handling of error responses to proxied upgrade requests in the
    65This week
  • CVE-2019-11248Kubernetes kubelet exposes /debug/pprof info on healthz port
    55Plan
  • CVE-2017-1002101In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using subpath volume mounts with
    42Plan
  • CVE-2018-1002101In Kubernetes versions 1.9.0-1.9.9, 1.10.0-1.10.5, and 1.11.0-1.11.1, user input was handled insecurely while setting up volume mounts on Wi
    40Plan
  • CVE-2017-1000056Kubernetes version 1.5.0-1.5.4 is vulnerable to a privilege escalation in the PodSecurityPolicy admission plugin resulting in the ability to
    40Plan
  • CVE-2016-1906Openshift allows remote attackers to gain privileges by updating a build configuration that was created with an allowed type to a type that
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:kubernetes1.18.5-1 · Debian:12Package registry (OSV)
Go:k8s.io/kubernetes1.16.13Package registry (OSV)
Go:k8s.io/kubernetes1.17.9Package registry (OSV)
Go:k8s.io/kubernetes1.18.6Package registry (OSV)
Go:k8s.io/kubernetes/pkg/kubelet1.16.13Package registry (OSV)
Go:k8s.io/kubernetes/pkg/kubelet1.17.9Package registry (OSV)
Go:k8s.io/kubernetes/pkg/kubelet1.18.6Package registry (OSV)
opensuse:govulncheck-vulndb0.0.20250807T150727-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:atomic-openshift0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-clients0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-clients-redistributable0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-docker-excluder0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-excluder0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-hyperkube0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-hypershift0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-master0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:atomic-openshift-node0:3.11.542-1.git.0.f2fd300.el7 · Red Hat:openshift:3.11::el7Package registry (OSV)
red hat:jenkins0:2.235.2.1597312414-1.el7 · Red Hat:openshift:4.5::el7Package registry (OSV)
red hat:openshift0:4.5.0-202008130146.p0.git.0.aaf1d57.el7 · Red Hat:openshift:4.5::el7Package registry (OSV)
red hat:openshift-hyperkube0:4.5.0-202008130146.p0.git.0.aaf1d57.el7 · Red Hat:openshift:4.5::el7Package registry (OSV)
suse:kubernetes1.17.4-4.18.1 · SUSE:Linux Enterprise Module for Containers 15 SP1Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records