Symlink Attack Affecting github.com/kubernetes/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 made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.15% (52nd 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-GITHUBCOMKUBERNETESKUBERNETESPKGKUBECTLCMDCP-174090
  • 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 github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp to version 1.11.9, 1.12.7, 1.13.5 or higher.

Overview

github.com/kubernetes/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 Scores

version 3.1