CVE-2020-8557: Denial of service in Kubernetes
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3808%
CWE
Published
4/24/2024
Updated
6/10/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| k8s.io/kubernetes/pkg/kubelet | go | >= 1.1.0, < 1.16.13 | 1.16.13 |
| k8s.io/kubernetes/pkg/kubelet | go | >= 1.17.0, < 1.17.9 | 1.17.9 |
| k8s.io/kubernetes/pkg/kubelet | go | >= 1.18.0, < 1.18.6 | 1.18.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability root cause was the kubelet's failure to include pod /etc/hosts file in ephemeral storage calculations. The patch adds explicit handling for this file in podLocalEphemeralStorageUsage. The pre-patch version of this function lacked the critical 'os.Stat(etcHostsPath)' check and subsequent disk usage accounting shown in the diff, making it the clear vulnerable function. The eviction manager's modifications to pass etcHostsPath parameter and call pattern changes confirm this was the missing piece in storage calculation logic.