CVE-2019-1002101 json
kubectl cp path traversal
published 7y ago modified last mo. also GHSA-34jx-wx69-9x8v , GO-2022-0782 , EUVD-2022-0775
- cvss
- 6.4
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.8%
- EPSS 12.8% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go k8s.io/kubernetes 1.11.9, 1.12.7, 1.13.5
- Kubernetes Kubernetes 1.11.9, 1.12.7, 1.13.5
- cri-o openshift 3.9 1.9.16-1.git78b2041.el7
- atomic-openshift openshift 3.9 3.9.74-1.git.0.78e56ea.el7
- openshift-ansible openshift 3.9 3.9.74-1.git.0.70a0a63.el7
- atomic-openshift-pod openshift 3.9 3.9.74-1.git.0.78e56ea.el7
- atomic-openshift-node openshift 3.9 3.9.74-1.git.0.78e56ea.el7
- ansible-service-broker openshift 3.9 1.1.20-1.el7
- atomic-openshift-tests openshift 3.9 3.9.74-1.git.0.78e56ea.el7
- atomic-openshift-utils openshift 3.9 3.9.74-1.git.0.70a0a63.el7
red hat advisories RHBA-2019:0619RHBA-2019:0620RHBA-2019:0636
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250807T150727-1.1
- k3s openSUSE Tumbleweed 1.21.3+k3s1-1.2
opensuse advisories openSUSE-SU-2025:15424-1openSUSE-SU-2024:10884-1
- github.com/kubernetes/kubernetes@4706389 commit
- github.com/kubernetes/kubernetes#75037 pull request
Is CVE-2019-1002101 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-1002101 updated cvss 5.3
kubernetes: Mishandling of symlinks allows for arbitrary file write via `kubectl cp`
-
Red Hat OpenShift Container Platform 3.9 cri-o 1.9.16-1.git78b2041.el7, ansible-service-broker 1.1.20-1.el7, ansible-service-broker-selinux 1.1.20-1.el7, atomic-openshift 3.9.74-1.git.0.78e56ea.el7, openshift-ansible 3.9.74-1.git.0.70a0a63.el7, atomic-openshift-pod 3.9.74-1.git.0.78e56ea.el7, +20 morefixed: vendor fix RHBA-2019:0619
-
Red Hat OpenShift Container Platform 3.10 python-libcloud 2.2.1-20180102gitd701bf9.el7, atomic-openshift 3.10.127-1.git.0.dab74c6.el7, openshift-ansible 3.10.127-1.git.0.131da09.el7, atomic-openshift-pod 3.10.127-1.git.0.dab74c6.el7, atomic-openshift-node 3.10.127-1.git.0.dab74c6.el7, rubygem-fluent-plugin-viaq_data_model 0.0.18-1.el7, +21 morefixed: vendor fix RHBA-2019:0620
-
Red Hat OpenShift Container Platform 3.11 python-docker 2.4.2-2.el7, python-certifi 2018.4.16-2.el7, python2-certifi 2018.4.16-2.el7, prometheus 3.11.98-1.git.0.61907ad.el7, atomic-openshift 3.11.98-1.git.0.0cbaff3.el7, python-libcloud 2.2.1-20180102gitd701bf9.el7, +34 morefixed: vendor fix RHBA-2019:0636
-
Red Hat OpenShift Container Platform 3.4 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.5 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.6 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +9 more Red Hat OpenShift Container Platform 3.7 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +10 more Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +2 more Red Hat Storage 3 heketi, heketi-client, python-heketinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
12.80% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.4 | CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | k8s.io/kubernetes | <1.11.9 >=1.12.0, <1.12.7 >=1.13.0, <1.13.5 |
1.11.9 1.12.7 1.13.5 |
Affected products
- Kubernetes Kubernetes
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
References
-
github.com
/kubernetes/kubernetes/pull/75037
web, patch, third-party-advisory
-
github.com
/kubernetes/kubernetes/commit/47063891dd782835170f500a83f37cc98c3c1013
web
-
access.redhat.com
/errata/RHBA-2019:0620
vendor-advisory, web
-
access.redhat.com
/errata/RHBA-2019:0619
vendor-advisory, web
-
access.redhat.com
/errata/RHBA-2019:0636
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/
vendor-advisory
-
securityfocus.com
/bid/107652
vdb-entry, web, third-party-advisory
-
openwall.com
/lists/oss-security/2019/06/21/1
mailing-list, web
-
openwall.com
/lists/oss-security/2019/08/05/5
mailing-list, web
- twistlock.com /labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/
-
nvd.nist.gov
/vuln/detail/CVE-2019-1002101
advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F
web
-
twistlock.com
/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101
web
-
access.redhat.com
/security/cve/cve-2019-1002101
third-party-advisory
-
github.com
/advisories/GHSA-34jx-wx69-9x8v
advisory
Sources
- CVE List CVE-2019-1002101
- GitHub Advisory GHSA-34jx-wx69-9x8v
- NVD CVE-2019-1002101
- OSV GO-2022-0782
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.