CVE-2019-11249
kubectl cp allows symlink directory traversal
- Published
- Updated
- Reserved
- Assigned by
- kubernetes
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.13.9, versions prior to 1.14.5, versions prior to 1.15.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, 1.12.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| kubernetesCNA (assigner) | 3.0 | Medium4.8 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Weakness
Affected products
- affected prior to 1.13.9
- affected prior to 1.14.5
- affected prior to 1.15.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 1.12
References (8)
- v1.13.9, v1.14.5, v1.15.2 released to address CVE-2019-11247, CVE-2019-11249 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/kubernetes/kubernetes/issues/80984 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20190919-0003/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHBA-2019:2816 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHBA-2019:2794 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHBA-2019:2824 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3239 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3811 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-11249)Record last updated .