CVE-2019-1002101
MEDIUM 5.5CVSS 3.0Symlink Attack in kubectl cp
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.
- Published
- 1 Apr 2019
- Last modified
- 10 Sep 2026
- Assigned by
- josh@bress.net
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-34jx-wx69-9x8vGO-2022-0782
- Sources
- NVDJSONOSV GHSA-34jx-wx69-9x8vJSONOSV GO-2022-0782JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | josh@bress.net (Secondary) | CVSS 3.0 | MEDIUM 6.4 | CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.11.0, < 1.11.9 | 1.11.9 |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.12.0, < 1.12.7 | 1.12.7 |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.13.0, < 1.13.5 | 1.13.5 |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:* |
= 3.9 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:* |
= 3.10 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:* |
= 3.11 | |
| OSV | Go | k8s.io/kubernetes | < 1.11.9 | 1.11.9 |
| OSV | Go | k8s.io/kubernetes | >= 1.12.0, < 1.12.7 | 1.12.7 |
| OSV | Go | k8s.io/kubernetes | >= 1.13.0, < 1.13.5 | 1.13.5 |
| OSV | 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 |
References
- http://www.openwall.com/lists/oss-security/2019/06/21/1 · WEB
- http://www.openwall.com/lists/oss-security/2019/08/05/5 · WEB
- http://www.securityfocus.com/bid/107652 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHBA-2019:0619 · WEB
- https://access.redhat.com/errata/RHBA-2019:0620 · WEB
- https://access.redhat.com/errata/RHBA-2019:0636 · WEB
- https://github.com/kubernetes/kubernetes/pull/75037 · Patch, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/
- https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/ · WEB
- https://access.redhat.com/security/cve/cve-2019-1002101 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-1002101 · ADVISORY
- https://github.com/kubernetes/kubernetes/commit/47063891dd782835170f500a83f37cc98c3c1013 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F · WEB
- https://github.com/advisories/GHSA-34jx-wx69-9x8v · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 1 Apr 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2022)