CVE-2019-11249

MEDIUMCVSS 6.5/10EPSS 3.73%

Last modified

CVE-2019-11249 is a medium-severity vulnerability rated 6.5/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 runs tar inside the container to create a tar archive, copies it over the network, and kubectl unpacks it on the user’s machine. EPSS estimates a 3.73% 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 runs tar inside the container to create a tar archive, 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. Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.1, 1.2, 1.4, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.

Metrics

CVSS 3.1
6.5/10

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

EPSS Probability
3.73%

88.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
KubernetesKubernetes>= 1.0.0, <= 1.12.10
KubernetesKubernetes>= 1.13.0, < 1.13.9
KubernetesKubernetes>= 1.14.0, < 1.14.5
KubernetesKubernetes>= 1.15.0, < 1.15.2
KubernetesKubernetes1.12.11Beta0
RedhatOpenshift Container Platform3.9
RedhatOpenshift Container Platform3.10
RedhatOpenshift Container Platform3.11
RedhatOpenshift Container Platform4.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-11249?
The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes runs tar inside the container to create a tar archive, 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. Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.1, 1.2, 1.4, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.
How severe is CVE-2019-11249?
CVE-2019-11249 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 3.73% probability of exploitation in the next 30 days.
How do I fix CVE-2019-11249?
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.

Are you affected by CVE-2019-11249?

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

Scan your code now

Source: NVD / NIST