CVE-2019-11246
published medium CVSS 3.0 · 6.4kubectl cp allows symlink directory traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kubernetes | — | Kubernetesprior to 1.12.9 · prior to 1.13.6 · prior to 1.14.2 · 1.1 · 1.2 · 1.4 · 1.5 · 1.6 · 1.7 · 1.8 · 1.9 · 1.10 · 1.11 | Affected | Not stated | kubernetes |
| Oracle Linux | 7 | kubeadmx86_64 | Advisory build | 0:1.12.10-1.0.10.el7 | ELSA-2019-4816 |
| Oracle Linux | 7 | kubeadm-ha-setupx86_64 | Advisory build | 0:0.0.2-1.0.68.el7 | ELSA-2019-4816 |
| Oracle Linux | 7 | kubeadm-upgradex86_64 | Advisory build | 0:0.0.1-1.0.27.el7 | ELSA-2019-4816 |
| Oracle Linux | 7 | kubectlx86_64 | Advisory build | 0:1.12.10-1.0.10.el7 | ELSA-2019-4816 |
| Oracle Linux | 7 | kubeletx86_64 | Advisory build | 0:1.12.10-1.0.10.el7 | ELSA-2019-4816 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- kubernetes · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kubernetes | Kubernetes | prior to 1.12.9 (affected)prior to 1.13.6 (affected)prior to 1.14.2 (affected)1.1 (affected)1.2 (affected)1.4 (affected)1.5 (affected)1.6 (affected)1.7 (affected)1.8 (affected)1.9 (affected)1.10 (affected)1.11 (affected) | kubernetes · cna |
Weaknesses
1- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
3- https://github.com/kubernetes/kubernetes/pull/76788
- [ANNOUNCE] Incomplete fixes for CVE-2019-1002101, kubectl cp potential directory traversal - CVE-2019-11246 https://groups.google.com/forum/#%21topic/kubernetes-security-announce/NLs2TGbfPdo
- https://security.netapp.com/advisory/ntap-20190919-0003/
Provider assertions
2kubernetes · cna
kubectl cp allows symlink directory traversal
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2014d548043af1fb40d3b52a516974693082018462613b4b3b42a886844e1bda
- Ingested
- 23 Sep 2026, 07:45:38 UTC
- Source record
- Official CVE record