CVE-2019-1002101Kubernetes
Medium 5.5 High EPSS
Follow: this CVE · Kubernetes · Kubernetes We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 3.0
- 5.5
- EPSS
- 12.8% probability of exploitation in 30 days · percentile 97
- Auth required
- Yes
- Published
- Apr 1, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | k8s.io/kubernetes |
< 1.11.9 |
1.11.9 |
go get k8s.io/kubernetes@v1.11.9 |
| Go | k8s.io/kubernetes |
≥ 1.12.0 < 1.12.7 |
1.12.7 |
go get k8s.io/kubernetes@v1.12.7 |
| Go | k8s.io/kubernetes |
≥ 1.13.0 < 1.13.5 |
1.13.5 |
go get k8s.io/kubernetes@v1.13.5 |
| Go | k8s.io/kubernetes |
< 1.11.9 |
1.11.9 |
go get k8s.io/kubernetes@v1.11.9 |
| Go | k8s.io/kubernetes |
≥ 1.12.0 < 1.12.7 |
1.12.7 |
go get k8s.io/kubernetes@v1.12.7 |
| Go | k8s.io/kubernetes |
≥ 1.13.0 < 1.13.5 |
1.13.5 |
go get k8s.io/kubernetes@v1.13.5 |
Per OSV / GitHub Advisories (GHSA-34jx-wx69-9x8v, GO-2022-0782). Check the version in your lockfile before upgrading.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com
- www.openwall.com
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- access.redhat.com
- access.redhat.com
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.twistlock.com
- access.redhat.com Third Party Advisory