# CVE-2020-8557: Kubernetes node disk Denial of Service by writing to container /etc/hosts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-55qj-gj3x-jq9r, GO-2024-2753
- **Published:** 2020-07-23T16:59:38.580Z
- **Modified:** 2026-06-17T03:26:32.780Z

## Who should check

- Projects that depend on Go package k8s.io/kubernetes/pkg/kubelet (\>= 1.1.0, \< 1.16.13)
- Projects that depend on Go package k8s.io/kubernetes (\>= 1.1.0, \< 1.16.13; \>= 1.17.0, \< 1.17.9; \>= 1.18.0, \< 1.18.6)
- Anyone running Kubernetes 1.15; 1.14; 1.13; 1.12; 1.11; 1.10; 1.9; 1.8; 1.7; 1.6; …

## 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 and fixed versions

- Go `k8s.io/kubernetes/pkg/kubelet`: affected \>= 1.1.0, \< 1.16.13; fixed 1.16.13, 1.17.9, 1.18.6 (osv)
- Go `k8s.io/kubernetes`: affected \>= 1.1.0, \< 1.16.13; \>= 1.17.0, \< 1.17.9; \>= 1.18.0, \< 1.18.6; fixed 1.16.13, 1.17.9, 1.18.6 (osv)
- Kubernetes: 1.15; 1.14; 1.13; 1.12; 1.11; 1.10; 1.9; 1.8; 1.7; 1.6; … (cvelist)

## Mitigation

- Upgrade k8s.io/kubernetes/pkg/kubelet to one of 1.16.13, 1.17.9, 1.18.6 (or later in the same release line).
- Upgrade k8s.io/kubernetes to one of 1.16.13, 1.17.9, 1.18.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-8557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-8557.md
Affected: k8s.io/kubernetes/pkg/kubelet >= 1.1.0, < 1.16.13; k8s.io/kubernetes >= 1.1.0, < 1.16.13; >= 1.17.0, < 1.17.9; >= 1.18.0, < 1.18.6
Fixed in: 1.16.13, 1.17.9, 1.18.6

Steps:
1. Search this machine and project for k8s.io/kubernetes/pkg/kubelet (Go), k8s.io/kubernetes (Go), Kubernetes: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-8557 being exploited?

There is no confirmed exploitation: CVE-2020-8557 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-8557?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2020-8557?

k8s.io/kubernetes/pkg/kubelet \>= 1.1.0, \< 1.16.13; k8s.io/kubernetes \>= 1.1.0, \< 1.16.13; \>= 1.17.0, \< 1.17.9; \>= 1.18.0, \< 1.18.6.

### Is there a fix for CVE-2020-8557?

Yes. Fixed in 1.16.13, 1.17.9, 1.18.6. Upgrade k8s.io/kubernetes/pkg/kubelet to one of 1.16.13, 1.17.9, 1.18.6 (or later in the same release line). Upgrade k8s.io/kubernetes to one of 1.16.13, 1.17.9, 1.18.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2020-8557?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-8557>
- vendor: <https://github.com/advisories/GHSA-55qj-gj3x-jq9r>
- patch: <https://github.com/kubernetes/kubernetes/issues/93032>
- patch: <https://github.com/kubernetes/kubernetes/pull/92921>
- patch: <https://github.com/kubernetes/kubernetes/commit/530f199b6e07cdaab32361e39709ac45f3fdc446>
- patch: <https://github.com/kubernetes/kubernetes/commit/68750fefd3df76b7b008ef7b18e8acd18d5c2f2e>
- patch: <https://github.com/kubernetes/kubernetes/commit/7fd849cffa2f93061fbcb0a6ae4efd0539b1e981>
- other: <https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ>
- other: <https://security.netapp.com/advisory/ntap-20200821-0002/>
- other: <https://github.com/kubernetes/kubernetes>
- other: <https://pkg.go.dev/vuln/GO-2024-2753>
- other: <https://security.netapp.com/advisory/ntap-20200821-0002>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8557>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-55qj-gj3x-jq9r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-2753> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-8557> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8557>
