CVE-2019-1002101
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.
EPSS 49.94% · 97.9th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | kubernetes | 1.0, 0 |
| Ubuntu:22.04:LTS | kubernetes | 0, 1.0 |
| Ubuntu:24.04:LTS | kubernetes | 1.0, 0 |
Timeline
- Apr 1, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Mar 17, 2025 EPSS Score
- Mar 20, 2025 EPSS Score
- Mar 22, 2025 EPSS Score
- Mar 25, 2025 EPSS Score
- Mar 28, 2025 EPSS Score
- Mar 30, 2025 EPSS Score
- Apr 3, 2025 EPSS Score
- Apr 7, 2025 EPSS Score
- Apr 11, 2025 EPSS Score
- May 4, 2025 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-1002101 third-party-advisory
- https://github.com/kubernetes/kubernetes/pull/75037 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-1002101 third-party-advisory