CVE-2019-1002101
Last modified
CVE-2019-1002101 is a vulnerability of currently unknown severity. 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. EPSS estimates a 13.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes | >= 1.11.0, < 1.11.9 |
| Kubernetes | Kubernetes | >= 1.12.0, < 1.12.7 |
| Kubernetes | Kubernetes | >= 1.13.0, < 1.13.5 |
| Kubernetes | Kubernetes | 1.14.0 |
| Redhat | Openshift Container Platform | 3.9 |
| Redhat | Openshift Container Platform | 3.10 |
| Redhat | Openshift Container Platform | 3.11 |
References
- http://www.securityfocus.com/bid/107652Third Party Advisory, VDB Entry
- https://github.com/kubernetes/kubernetes/pull/75037Patch, Third Party Advisory
- https://access.redhat.com/security/cve/cve-2019-1002101Third Party Advisory
- http://www.securityfocus.com/bid/107652Third Party Advisory, VDB Entry
- https://github.com/kubernetes/kubernetes/pull/75037Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-1002101?
How severe is CVE-2019-1002101?
How do I fix CVE-2019-1002101?
Are you affected by CVE-2019-1002101?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
