Symlink Attack Affecting k8s.io/kubernetes/pkg/volume/util/operationexecutor 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. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.46% (76th 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-K8SIOKUBERNETESPKGVOLUMEUTILOPERATIONEXECUTOR-2825263
  • published17 May 2022
  • disclosed17 May 2022
  • creditMaxim Ivanov

Introduced: 17 May 2022

CVE-2017-1002101  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade k8s.io/kubernetes/pkg/volume/util/operationexecutor to version 1.7.14, 1.8.9, 1.9.4 or higher.

Overview

k8s.io/kubernetes/pkg/volume/util/operationexecutor is an implements interfaces that enable execution of attach, detach, mount, and unmount operations with a nestedpendingoperations so that more than one operation is never triggered on the same volume for the same pod.

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 Base Scores

version 3.1