Symlink Attack Affecting k8s.io/kubernetes/pkg/kubectl/cmd/cp package, versions <1.11.9>=1.12.0 <1.12.7>=1.13.0 <1.13.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
49.65% (98th 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-174801
  • published2 Apr 2019
  • disclosed6 Mar 2019
  • creditUnknown

Introduced: 6 Mar 2019

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

How to fix?

Upgrade k8s.io/kubernetes/pkg/kubectl/cmd/cp to version 1.11.9, 1.12.7, 1.13.5 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 via the kubectl cp command. It could allow writing files to any path on the user’s machine when 'kubectl cp' is called, limited only by the system permissions of the local user.

CVSS Base Scores

version 3.1