5.5
MEDIUM CVSS 3.1
CVE-2020-8557
Kubernetes Kubelet Insufficient Ephemeral Storage Handling Vulnerability
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.

INFO

Published Date :

July 23, 2020, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 5:39 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2020-8557 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Kubernetes kubernetes
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
A vulnerability in Kubernetes Kubelet allows a pod to fill the node's storage space by writing to its own /etc/hosts file, which could cause the node to fail.
  • Update the Kubernetes packages.
  • Update the affected Linux packages.
Public PoC/Exploit Available at Github

CVE-2020-8557 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-8557.

URL Resource
https://github.com/kubernetes/kubernetes/issues/93032 Issue Tracking Patch Third Party Advisory
https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20200821-0002/ Third Party Advisory
https://github.com/kubernetes/kubernetes/issues/93032 Issue Tracking Patch Third Party Advisory
https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20200821-0002/ Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-8557 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-8557 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Certified Kubernetes Security Specialist (CKS) 2023-2024

cks cks-exam cks-exam-preparation ckss

Jinja Shell

Updated: 1 month, 1 week ago
89 stars 24 fork 24 watcher
Born at : Oct. 5, 2023, 5:53 p.m. This repo has been linked 4 different CVEs too.

None

AGS Script Jinja

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 20, 2023, 7:45 a.m. This repo has been linked 1 different CVEs too.

None

Shell Python

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 31, 2023, 3:40 a.m. This repo has been linked 7 different CVEs too.

⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")

Dockerfile Shell Ruby Smarty Jinja HCL

Updated: 3 months, 1 week ago
17 stars 2 fork 2 watcher
Born at : July 1, 2022, 7:12 a.m. This repo has been linked 57 different CVEs too.

Metarget is a framework providing automatic constructions of vulnerable infrastructures.

cloud-native kubernetes container cloud-native-security kubernetes-security container-security container-escape target vulnerable-infrastructure vulnerabilities vulnerable-scenes vulnerable-infrastructures privilege-escalation kernel-exploitation

Python Shell HTML JavaScript PHP Perl Dockerfile C Roff

Updated: 1 month, 1 week ago
1284 stars 189 fork 189 watcher
Born at : April 9, 2021, 4:20 a.m. This repo has been linked 51 different CVEs too.

:atom: [WIP] 整理过去的分享,从零开始的Kubernetes攻防 🧐

blackhat hitbsecconf hitb cis cloud-native containers k8s kubernetes

Shell Python

Updated: 3 weeks, 2 days ago
3086 stars 450 fork 450 watcher
Born at : Feb. 24, 2021, 3:55 a.m. This repo has been linked 16 different CVEs too.

None

Updated: 4 years, 8 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 7, 2020, 7:28 a.m. This repo has been linked 1 different CVEs too.

Curated resources help you prepare for the CNCF/Linux Foundation CKS 2021 "Kubernetes Certified Security Specialist" Certification exam. Please provide feedback or requests by raising issues, or making a pull request. All feedback for improvements are welcome. thank you.

kubernetes-security kubernetes cks ckss kernel-hardening exam-objectives os-footprint security seccomp apparmor falco kube-hunter kube-bench trivy pod certification policy mitre-attack pod-security-policy open-policy-agent

AGS Script Jinja

Updated: 1 month ago
2067 stars 522 fork 522 watcher
Born at : Aug. 19, 2020, 10:11 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-8557 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-8557 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/kubernetes/kubernetes/issues/93032
    Added Reference https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ
    Added Reference https://security.netapp.com/advisory/ntap-20200821-0002/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jan. 27, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/kubernetes/kubernetes/issues/93032 Patch, Third Party Advisory https://github.com/kubernetes/kubernetes/issues/93032 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20200821-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20200821-0002/ Third Party Advisory
  • CVE Modified by [email protected]

    Aug. 21, 2020

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20200821-0002/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 28, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/kubernetes/kubernetes/issues/93032 No Types Assigned https://github.com/kubernetes/kubernetes/issues/93032 Patch, Third Party Advisory
    Changed Reference Type https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ No Types Assigned https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ Mailing List, Third Party Advisory
    Added CWE NIST CWE-400
    Added CPE Configuration OR *cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* versions up to (excluding) 1.16.13 *cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* versions from (including) 1.17.0 up to (excluding) 1.17.9 *cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* versions from (including) 1.18.0 up to (excluding) 1.18.6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 2.1
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.19 }} 0.03%

score

0.40973

percentile