Symlink Attack Affecting k8s.io/kubernetes/pkg/kubelet package, versions >=1.3.0 <1.7.14 >=1.8.0 <1.8.9 >=1.9.0 <1.9.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.2% (59th 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-2825257
  • published 17 May 2022
  • disclosed 17 May 2022
  • credit Maxim Ivanov

How to fix?

Upgrade k8s.io/kubernetes/pkg/kubelet to version 1.7.14, 1.8.9, 1.9.4 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 due to not enforcing limitations on symlink creation in mounts, allowing said symlinks to point to resources outside the volumes specified in the pod using relative path syntax.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.6 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None