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

    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 ID SNYK-GOLANG-K8SIOKUBERNETESPKGKUBELET-1729741
  • published 8 Oct 2021
  • disclosed 8 Oct 2021
  • credit Fabricio Voznika and Mark Wolters of Google

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
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.1 high
Expand this section

Red Hat

8.8 high