National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-1002101 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 5.5 MEDIUM
Vector:  CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Nist CVSS score does not match with CNA score
CNA:  DWF
Base Score: 6.4 MEDIUM
Vector:  CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.openwall.com/lists/oss-security/2019/06/21/1
http://www.openwall.com/lists/oss-security/2019/08/05/5
http://www.securityfocus.com/bid/107652 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHBA-2019:0619
https://access.redhat.com/errata/RHBA-2019:0620
https://access.redhat.com/errata/RHBA-2019:0636
https://access.redhat.com/security/cve/cve-2019-1002101 Third Party Advisory
https://github.com/kubernetes/kubernetes/pull/75037 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/
https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/

Weakness Enumeration

CWE-ID CWE Name Source
CWE-59 Improper Link Resolution Before File Access ('Link Following') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.11.0
Up to (excluding)
1.11.9
 cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.12.0
Up to (excluding)
1.12.7
 cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.13.0
Up to (excluding)
1.13.5
 cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

10 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-1002101
NVD Published Date:
04/01/2019
NVD Last Modified:
02/10/2020