CVE-2019-1002101

MEDIUMCVSS 6.4/10EPSS 13.16%

Last modified

CVE-2019-1002101 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 13.16% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.0
6.4/10

CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
13.16%

95.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
KubernetesKubernetes>= 1.11.0, < 1.11.9
KubernetesKubernetes>= 1.12.0, < 1.12.7
KubernetesKubernetes>= 1.13.0, < 1.13.5
KubernetesKubernetes1.14.0
RedhatOpenshift Container Platform3.9
RedhatOpenshift Container Platform3.10
RedhatOpenshift Container Platform3.11

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-1002101?
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.
How severe is CVE-2019-1002101?
CVE-2019-1002101 has a CVSS score of 6.4/10 (MEDIUM severity). The EPSS model estimates a 13.16% probability of exploitation in the next 30 days.
How do I fix CVE-2019-1002101?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2019

Are you affected by CVE-2019-1002101?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST