Symlink Attack Affecting k8s.io/kubernetes/pkg/kubelet package, versions >=1.22.0 <1.22.2>=1.21.0 <1.21.5>=1.20.0 <1.20.11<1.19.15


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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-GOLANG-K8SIOKUBERNETESPKGKUBELET-1729741
  • published8 Oct 2021
  • disclosed8 Oct 2021
  • creditFabricio Voznika and Mark Wolters of Google

Introduced: 8 Oct 2021

CVE-2021-25741  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade k8s.io/kubernetes/pkg/kubelet to version 1.22.2, 1.21.5, 1.20.11, 1.19.15 or higher.

Overview

k8s.io/kubernetes/pkg/kubelet is a package that contains the libraries that drive the Kubelet binary. The kubelet is responsible for node level pod management. It runs on each worker in the cluster.

Affected versions of this package are vulnerable to Symlink Attack. A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.

CVSS Scores

version 3.1