Free and open-source vulnerability scanner

Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.

Install Now

Available for macOS, Windows, and Linux

App screenshot

CVE-2019-1002101

CVE information

Published

5 years ago

Last Modified

5 months ago

CVSSv2.0 Severity

Medium

CVSSv3.1 Severity

Medium

Impact Analysis

Description

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0..

CVSSv2.0 Score

Severity
Medium
Base Score
5.8/10
Exploit Score
8.6/10
Access Vector
Network
Access Complexity
Medium
Authentication Required
None
Impact Score
4.9/10
Confidentiality Impact
None
Availability Impact
Partial
Integrity Impact
Partial

CVSSv3.1 Score

Severity
Medium
Base Score
5.5/10
Exploit Score
1.8/10
Access Vector
Local
Access Complexity
Low
Privileges Required
None
Impact Score
3.6/10
Confidentiality Impact
None
Availability Impact
None
Integrity Impact
High
Scope
Unchanged
User Interaction
Required

Products Affected

CPE Affected Vulnerable Excluding Edit
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
  Yes
1.12.0 1.12.7
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
  Yes
1.13.0 1.13.5
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
  Yes
1.11.0 1.11.9
cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:
  Yes
- -
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*
  Yes
- -
cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*
  Yes
- -