Symlink Attack Affecting k8s.io/kubernetes/pkg/kubectl/cmd/cp package, versions >=1.13.10 <1.13.11>=1.14.6 <1.14.7>=1.15.3 <1.16.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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-K8SIOKUBERNETESPKGKUBECTLCMDCP-544161
  • published4 Feb 2020
  • disclosed3 Feb 2020
  • creditErik Sjölund

Introduced: 3 Feb 2020

CVE-2019-11251  (opens in a new tab)
CWE-592  (opens in a new tab)

How to fix?

Upgrade k8s.io/kubernetes/pkg/kubectl/cmd/cp to version 1.13.11, 1.14.7, 1.16.0 or higher.

Overview

k8s.io/kubernetes/pkg/kubectl/cmd/cp is a Production-Grade Container Scheduling and Management.

Affected versions of this package are vulnerable to Symlink Attack. It allows a combination of two symlinks to copy a file outside of its destination directory. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

CVSS Scores

version 3.1