{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "Kubernetes",
                    "vendor": "Kubernetes",
                    "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"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Kebe Liu of DaoCloud"
                }
            ],
            "datePublic": "2020-07-15T00:00:00",
            "descriptions": [
                {
                    "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "description": "CWE-400 Uncontrolled Resource Consumption",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2020-08-21T09:06:14",
                "orgId": "a6081bf6-c852-4425-ad4f-a67919267565",
                "shortName": "kubernetes"
            },
            "references": [
                {
                    "tags": [
                        "x_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",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20200821-0002/"
                }
            ],
            "source": {
                "discovery": "USER"
            },
            "title": "Kubernetes node disk Denial of Service by writing to container /etc/hosts",
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "x_legacyV4Record": {
                "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"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20200821-0002/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20200821-0002/"
                        }
                    ]
                },
                "source": {
                    "discovery": "USER"
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T10:03:46.168Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/kubernetes/kubernetes/issues/93032"
                    },
                    {
                        "name": "[Security Advisory] CVE-2020-8557: Node disk DOS by writing to container /etc/hosts",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20200821-0002/"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "a6081bf6-c852-4425-ad4f-a67919267565",
        "assignerShortName": "kubernetes",
        "cveId": "CVE-2020-8557",
        "datePublished": "2020-07-23T16:59:38.580465Z",
        "dateReserved": "2020-02-03T00:00:00",
        "dateUpdated": "2024-09-17T03:14:05.177Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}