CVE-2019-11246

MEDIUM
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.12.9, versions prior to 1.13.6, versions prior to 1.14.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.

References

https://github.com/kubernetes/kubernetes/pull/76788

https://groups.google.com/forum/#!topic/kubernetes-security-announce/NLs2TGbfPdo

https://security.netapp.com/advisory/ntap-20190919-0003/

Details

Source: MITRE

Published: 2019-08-29

Updated: 2020-10-02

Type: CWE-22

Risk Information

CVSS v2

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.5

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

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM

Tenable Plugins

View all (9 total)

IDNameProductFamilySeverity
130125Photon OS 3.0: Kubernetes PHSA-2019-3.0-0031NessusPhotonOS Local Security Checks
high
129784Photon OS 1.0: Kubernetes PHSA-2019-1.0-0252NessusPhotonOS Local Security Checks
high
129691Photon OS 2.0: Kubernetes PHSA-2019-2.0-0177NessusPhotonOS Local Security Checks
high
129682Photon OS 1.0: Kubernetes PHSA-2019-1.0-0255NessusPhotonOS Local Security Checks
high
128127Fedora 30 : kubernetes (2019-2b8ef08c95)NessusFedora Local Security Checks
high
127033RHEL 7 : OpenShift Container Platform 3.9 atomic-openshift (RHSA-2019:1852)NessusRed Hat Local Security Checks
medium
126468Kubernetes 1.12.x < 1.12.9 / 1.13.x < 1.13.6 / 1.14.x < 1.14.2 kubectl directory traversalNessusMisc.
medium
126323RHEL 7 : Red Hat OpenShift Container Platform 3.11 atomic-openshift (RHSA-2019:1633)NessusRed Hat Local Security Checks
medium
126322RHEL 7 : Red Hat OpenShift Container Platform 3.10 atomic-openshift (RHSA-2019:1632)NessusRed Hat Local Security Checks
medium