{
    "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": "<",
                                            "version_name": "1.18",
                                            "version_value": "1.18.6"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.17",
                                            "version_value": "1.17.9"
                                        },
                                        {
                                            "version_affected": "<",
                                            "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"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20200821-0002/",
                "url": "https://security.netapp.com/advisory/ntap-20200821-0002/"
            }
        ]
    },
    "source": {
        "discovery": "USER"
    }
}