PT-2019-12212 · Linux Foundation+1 · Kubernetes+1

Published

2019-08-13

·

Updated

2020-10-02

·

CVE-2019-11246

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Kubernetes versions prior to 1.12.9 Kubernetes versions prior to 1.13.6 Kubernetes versions prior to 1.14.2 Kubernetes versions 1.1, 1.2, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11
Description The issue arises from the kubectl cp command, which allows copying files between containers and the user machine. When copying files from a container, Kubernetes uses 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.
Recommendations For Kubernetes versions prior to 1.12.9, update to version 1.12.9 or later. For Kubernetes versions prior to 1.13.6, update to version 1.13.6 or later. For Kubernetes versions prior to 1.14.2, update to version 1.14.2 or later. For Kubernetes versions 1.1, 1.2, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, update to a version that is not vulnerable, such as 1.12.9 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-2453
ALT-PU-2019-2454
CVE-2019-11246
RHSA-2019:1632
RHSA-2019:1633
RHSA-2019:1852

Affected Products

Alt Linux
Kubernetes