Resource Exhaustion Affecting k3s package, versions <1.18.6.1-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.5% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE316-K3S-2845467
  • published2 Feb 2021
  • disclosed23 Jul 2020

Introduced: 23 Jul 2020

CVE-2020-8557  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Alpine:3.16 k3s to version 1.18.6.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream k3s package and not the k3s package as distributed by Alpine. See How to fix? for Alpine:3.16 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1