gsd-2020-8557
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2020-8557", "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.", "id": "GSD-2020-8557", "references": [ "https://www.suse.com/security/cve/CVE-2020-8557.html", "https://access.redhat.com/errata/RHSA-2021:3915", "https://access.redhat.com/errata/RHSA-2020:3809", "https://access.redhat.com/errata/RHSA-2020:3808", "https://access.redhat.com/errata/RHSA-2020:3580", "https://access.redhat.com/errata/RHSA-2020:3579", "https://access.redhat.com/errata/RHSA-2020:3520", "https://access.redhat.com/errata/RHSA-2020:3519", "https://linux.oracle.com/cve/CVE-2020-8557.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2020-8557" ], "details": "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.", "id": "GSD-2020-8557", "modified": "2023-12-13T01:21:53.615552Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security@kubernetes.io", "DATE_PUBLIC": "2020-07-15T00:00:00.000Z", "ID": "CVE-2020-8557", "STATE": "PUBLIC", "TITLE": "Kubernetes node disk Denial of Service by writing to container /etc/hosts" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Kubernetes", "version": { "version_data": [ { "version_affected": "\u003c", "version_name": "1.18", "version_value": "1.18.6" }, { "version_affected": "\u003c", "version_name": "1.17", "version_value": "1.17.9" }, { "version_affected": "\u003c", "version_name": "1.16", "version_value": "1.16.13" }, { "version_value": "1.15" }, { "version_value": "1.14" }, { "version_value": "1.13" }, { "version_value": "1.12" }, { "version_value": "1.11" }, { "version_value": "1.10" }, { "version_value": "1.9" }, { "version_value": "1.8" }, { "version_value": "1.7" }, { "version_value": "1.6" }, { "version_value": "1.5" }, { "version_value": "1.4" }, { "version_value": "1.3" }, { "version_value": "1.2" }, { "version_value": "1.1" } ] } } ] }, "vendor_name": "Kubernetes" } ] } }, "credit": [ { "lang": "eng", "value": "Kebe Liu of DaoCloud" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 5.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-400 Uncontrolled Resource Consumption" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/kubernetes/kubernetes/issues/93032", "refsource": "CONFIRM", "url": "https://github.com/kubernetes/kubernetes/issues/93032" }, { "name": "[Security Advisory] CVE-2020-8557: Node disk DOS by writing to container /etc/hosts", "refsource": "MLIST", "url": "https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ" }, { "name": "https://security.netapp.com/advisory/ntap-20200821-0002/", "refsource": "CONFIRM", "url": "https://security.netapp.com/advisory/ntap-20200821-0002/" } ] }, "source": { "discovery": "USER" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv1.16.13 || \u003e=v1.17.0 \u003cv1.17.9 || \u003e=v1.18.0 \u003cv1.18.6", "affected_versions": "All versions before 1.16.13, all versions starting from 1.17.0 before 1.17.9, all versions starting from 1.18.0 before 1.18.6", "cvss_v2": "AV:L/AC:L/Au:N/C:N/I:N/A:P", "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2020-08-21", "description": "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": [ "v1.16.13", "v1.17.9", "v1.18.6" ], "identifier": "CVE-2020-8557", "identifiers": [ "CVE-2020-8557" ], "not_impacted": "All versions starting from 1.16.13 before 1.17.0, all versions starting from v1.17.9 before v1.18.0, all versions startin from v1.18.6", "package_slug": "go/github.com/kubernetes/kubelet", "pubdate": "2020-07-23", "solution": "Upgrade to versions 1.16.13, 1.17.9, 1.18.6 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-8557" ], "uuid": "d94d0cec-7394-4341-b127-aac8e07c79c9", "versions": [ { "commit": { "sha": "151c1e40350fc26156093f2c0400eb4b60bb88e1", "tags": [ "kubernetes-1.17.0" ], "timestamp": "20191211003115" }, "number": "v1.17.0" }, { "commit": { "sha": "e54015b524d2efd26fc3fab5c2259e808d1d357d", "tags": [ "kubernetes-1.18.0" ], "timestamp": "20200326042227" }, "number": "v1.18.0" }, { "commit": { "sha": "95dded27a4045677ac882943855514319096c4d5", "tags": [ "kubernetes-1.16.13" ], "timestamp": "20200716002139" }, "number": "v1.16.13" }, { "commit": { "sha": "b0aaaa17b6b3f826a00ac196d007304ebf9b4d64", "tags": [ "kubernetes-1.17.9" ], "timestamp": "20200716002222" }, "number": "v1.17.9" }, { "commit": { "sha": "a6ba72d3025c835ddfdd437778cb9003eac3c1d0", "tags": [ "kubernetes-1.18.6" ], "timestamp": "20200716002306" }, "number": "v1.18.6" } ] }, { "affected_range": "\u003c1.16.13||\u003e=1.17.0 \u003c1.17.9||\u003e=1.18.0 \u003c1.18.6", "affected_versions": "All versions before 1.16.13, all versions starting from 1.17.0 before 1.17.9, all versions starting from 1.18.0 before 1.18.6", "cvss_v2": "AV:L/AC:L/Au:N/C:N/I:N/A:P", "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2020-08-21", "description": "The Kubernetes kubelet component 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": [ "1.16.13", "1.17.9", "1.18.6" ], "identifier": "CVE-2020-8557", "identifiers": [ "CVE-2020-8557" ], "not_impacted": "All versions starting from 1.16.13 before 1.17.0, all versions starting from 1.17.9 before 1.18.0, all versions starting from 1.18.6", "package_slug": "go/k8s.io/kubernetes/pkg/apis/apps/validation", "pubdate": "2020-07-23", "solution": "Upgrade to version 1.16.13, 1.17.9, 1.18.6 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-8557" ], "uuid": "d3e4fe07-ce1a-40a1-8edc-148e09ecf36b" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.18.6", "versionStartIncluding": "1.18.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.17.9", "versionStartIncluding": "1.17.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.16.13", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@kubernetes.io", "ID": "CVE-2020-8557" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-400" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/kubernetes/kubernetes/issues/93032", "refsource": "CONFIRM", "tags": [ "Issue Tracking", "Patch", "Third Party Advisory" ], "url": "https://github.com/kubernetes/kubernetes/issues/93032" }, { "name": "[Security Advisory] CVE-2020-8557: Node disk DOS by writing to container /etc/hosts", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ" }, { "name": "https://security.netapp.com/advisory/ntap-20200821-0002/", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://security.netapp.com/advisory/ntap-20200821-0002/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "LOCAL", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 2.1, "confidentialityImpact": "NONE", "integrityImpact": "NONE", "vectorString": "AV:L/AC:L/Au:N/C:N/I:N/A:P", "version": "2.0" }, "exploitabilityScore": 3.9, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "LOW", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 5.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 1.8, "impactScore": 3.6 } }, "lastModifiedDate": "2023-01-27T20:35Z", "publishedDate": "2020-07-23T17:15Z" } } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.