{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8557","id":"CVE-2020-8557","title":"Kubernetes node disk Denial of Service by writing to container /etc/hosts","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 st","descriptionLong":"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.","published":"2020-07-23T16:59:38.580Z","updated":"2026-10-24T10:50:39.779492999Z","reserved":"2020-02-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"kubernetes","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"kubernetes"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"kubernetes"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"liggitt.net"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","rating":"low","source":"NVD"}],"rating":"medium","products":["Kubernetes"],"affectedProducts":[{"vendor":"Kubernetes","product":"Kubernetes","defaultStatus":null,"versions":[{"status":"affected","version":"1.15"},{"status":"affected","version":"1.14"},{"status":"affected","version":"1.13"},{"status":"affected","version":"1.12"},{"status":"affected","version":"1.11"},{"status":"affected","version":"1.10"},{"status":"affected","version":"1.9"},{"status":"affected","version":"1.8"},{"status":"affected","version":"1.7"},{"status":"affected","version":"1.6"},{"status":"affected","version":"1.5"},{"status":"affected","version":"1.4"},{"status":"affected","version":"1.3"},{"status":"affected","version":"1.2"},{"status":"affected","version":"1.1"},{"lessThan":"1.18.6","status":"affected","version":"1.18","versionType":"custom"},{"lessThan":"1.17.9","status":"affected","version":"1.17","versionType":"custom"},{"lessThan":"1.16.13","status":"affected","version":"1.16","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"k8s.io/kubernetes/pkg/kubelet","purl":"pkg:golang/k8s.io/kubernetes/pkg/kubelet","ranges":[">=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"],"advisory":"GHSA-55qj-gj3x-jq9r"},{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":[">=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"],"advisory":"GO-2024-2753"}],"cwes":["CWE-400"],"aliases":["GHSA-55qj-gj3x-jq9r","GO-2024-2753"],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/93032","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20200821-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8557","tags":["advisory"]},{"url":"https://github.com/kubernetes/kubernetes/pull/92921","tags":["web"]},{"url":"https://github.com/kubernetes/kubernetes/commit/530f199b6e07cdaab32361e39709ac45f3fdc446","tags":["web"]},{"url":"https://github.com/kubernetes/kubernetes/commit/68750fefd3df76b7b008ef7b18e8acd18d5c2f2e","tags":["web"]},{"url":"https://github.com/kubernetes/kubernetes/commit/7fd849cffa2f93061fbcb0a6ae4efd0539b1e981","tags":["web"]},{"url":"https://github.com/advisories/GHSA-55qj-gj3x-jq9r","tags":["advisory"]},{"url":"https://github.com/kubernetes/kubernetes","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2753","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20200821-0002","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00434,"epssPercentile":0.38374,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8557","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8557","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8557","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-55qj-gj3x-jq9r","ok":true,"note":"GHSA-55qj-gj3x-jq9r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8557","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["kubernetes"],"critical":[],"attention":null}