CVE-2019-1002101

CVSS v3.0 5.5 (Medium)
55% Progress
CVSS v2.0 5.8 (Medium)
58% Progress
EPSS 0.09 % (38th)
0.09% Progress
Affected Products 2
Advisories 4

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.

Weaknesses
CWE-59
Improper Link Resolution Before File Access ('Link Following')
CVE Status
PUBLISHED
CNA
DWF
Published Date
2019-04-01 14:29:00
(5 years ago)
Updated Date
2023-11-07 03:02:13
(10 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Kubernetes from 1.11.0 version and prior 1.11.9 version cpe:2.3:a:kubernetes:kubernetes >= 1.11.0 < 1.11.9
  Kubernetes from 1.12.0 version and prior 1.12.7 version cpe:2.3:a:kubernetes:kubernetes >= 1.12.0 < 1.12.7
  Kubernetes from 1.13.0 version and prior 1.13.5 version cpe:2.3:a:kubernetes:kubernetes >= 1.13.0 < 1.13.5
  Kubernetes 1.14.0 cpe:2.3:a:kubernetes:kubernetes:1.14.0

Configuration #2

    CPE23 From Up To
  Redhat Openshift Container Platform 3.9 cpe:2.3:a:redhat:openshift_container_platform:3.9
  Redhat Openshift Container Platform 3.10 cpe:2.3:a:redhat:openshift_container_platform:3.10
  Redhat Openshift Container Platform 3.11 cpe:2.3:a:redhat:openshift_container_platform:3.11
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...