Live threats

All CVEs / Kubernetes

CVE-2019-1002101Kubernetes

Medium 5.5 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kubernetes.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
kuberneteskubernetes≥ 1.11.0 < 1.11.9
kuberneteskubernetes≥ 1.12.0 < 1.12.7
kuberneteskubernetes≥ 1.13.0 < 1.13.5
kuberneteskubernetes1.14.0
redhatopenshift_container_platform3.9
redhatopenshift_container_platform3.10
redhatopenshift_container_platform3.11

Official sources

References

Links published by the sources. Open them with care.