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

- Severity: Medium 5.5 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2020-07-23T16:59:38.580Z
- Modified: 2026-06-17T03:26:32.780Z
- Also known as: GHSA-55qj-gj3x-jq9r, GO-2024-2753
- Weaknesses: CWE-400
- Assigned by: kubernetes

## 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.

(As written by CVE List.)

## Affected

- 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; and 9 more
- k8s.io/kubernetes/pkg/kubelet (Go): from 1.1.0 before 1.16.13; from 1.17.0 before 1.17.9; from 1.18.0 before 1.18.6
- k8s.io/kubernetes (Go): from 1.1.0 before 1.16.13; from 1.17.0 before 1.17.9; from 1.18.0 before 1.18.6

## Every score

- kubernetes: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

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

## Sources

- CVE List: [CVE-2020-8557](https://www.cve.org/CVERecord?id=CVE-2020-8557), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-55qj-gj3x-jq9r](https://github.com/advisories/GHSA-55qj-gj3x-jq9r), CC-BY-4.0, modified 2024-06-10
- Go Vulnerability Database: [GO-2024-2753](https://pkg.go.dev/vuln/GO-2024-2753), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-8557](https://nvd.nist.gov/vuln/detail/CVE-2020-8557), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8557 · Whole record: https://cve.day/CVE-2020-8557.json · Rebuilt by cve.day 2026-11-25T22:57:53.609Z
