Vulnerability Details : CVE-2019-1002101
Potential exploit
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.
Products affected by CVE-2019-1002101
- cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:*
- cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
- cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
- cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
- cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-1002101
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-1002101
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:P |
8.6
|
4.9
|
NIST | |
6.4
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
0.5
|
5.9
|
DWF | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2019-1002101
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-1002101
-
https://access.redhat.com/errata/RHBA-2019:0636
RHBA-2019:0636 - Bug Fix Advisory - Red Hat Customer Portal
-
http://www.openwall.com/lists/oss-security/2019/08/05/5
oss-security - Kubernetes v1.13.9, v1.14.5, v1.15.2 released to address CVE-2019-11247, CVE-2019-11249
-
https://access.redhat.com/security/cve/cve-2019-1002101
CVE-2019-1002101 - Red Hat Customer PortalThird Party Advisory
-
https://access.redhat.com/errata/RHBA-2019:0620
RHBA-2019:0620 - Bug Fix Advisory - Red Hat Customer Portal
-
http://www.securityfocus.com/bid/107652
Kubernetes CVE-2019-1002101 Arbitrary File Overwrite VulnerabilityThird Party Advisory;VDB Entry
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/
[SECURITY] Fedora 30 Update: kubernetes-1.15.2-1.fc30 - package-announce - Fedora Mailing-Lists
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/
[SECURITY] Fedora 30 Update: kubernetes-1.13.5-1.fc30 - package-announce - Fedora Mailing-Lists
-
https://github.com/kubernetes/kubernetes/pull/75037
CVE-2019-1002101: kubectl fix potential directory traversal by soltysh · Pull Request #75037 · kubernetes/kubernetes · GitHubPatch;Third Party Advisory
-
http://www.openwall.com/lists/oss-security/2019/06/21/1
oss-security - [ANNOUNCE] Incomplete fixes for CVE-2019-1002101, kubectl cp potential directory traversal - CVE-2019-11246
-
https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/
Disclosing a directory traversal vulnerability in Kubernetes copy - CVE-2019-1002101 | Twistlock
-
https://access.redhat.com/errata/RHBA-2019:0619
RHBA-2019:0619 - Bug Fix Advisory - Red Hat Customer Portal
Jump to