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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kubernetes | Kubernetes | prior to 1.13.9, prior to 1.14.5, prior to 1.15.2, 1.1, 1.2, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | atomic-enterprise-service-catalog +1 | 1:4.1.16-201909090609.git.1.cc4acc1.el7 | RHBA-2019:2794 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.1.1567784275-1.el7 | RHBA-2019:2794 |
| Red Hat OpenShift 4 | openshift +3 | 4.1.16-201909090609.git.0.2f97059.el7 | RHBA-2019:2794 |
| Red Hat OpenShift 4 | openshift-ansible | 4.1.16-201909090609.git.162.a0800db.el7 | RHBA-2019:2794 |
| Red Hat OpenShift 3 | ansible-service-broker +3 | 1:1.3.23-2.el7 | RHBA-2019:2816 |
| Red Hat OpenShift 3 | atomic-openshift +13 | 3.9.102-1.git.0.6411f52.el7 | RHSA-2019:3811, RHSA-2019:3239 |
| Red Hat OpenShift 3 | atomic-openshift-hyperkube +1 | 3.10.181-1.git.0.3ab4b3d.el7 | RHSA-2019:3239 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | k3s | 0.8.0-r0 | — |
| Alpine v3.23 | k3s | 0.8.0-r0 | — |
| Alpine v3.22 | k3s | 0.8.0-r0 | — |
| Alpine v3.21 | k3s | 0.8.0-r0 | — |
| Alpine v3.20 | k3s | 0.8.0-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | k3s | 0.8.0-r0 | — |
| Alpine v3.18 | k3s | 0.8.0-r0 | — |
| Alpine v3.17 | k3s | 0.8.0-r0 | — |
| Alpine v3.16 | k3s | 0.8.0-r0 | — |
| Alpine v3.15 | k3s | 0.8.0-r0 | — |
| Alpine v3.14 | k3s | 0.8.0-r0 | — |
| Alpine v3.13 | k3s | 0.8.0-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | kubeadm +2 | 1.12.10-1.0.10.el7 | ELSA-2019-4816 |
| Oracle Linux 7 | kubeadm-ha-setup | 0.0.2-1.0.68.el7 | ELSA-2019-4816 |
| Oracle Linux 7 | kubeadm-upgrade | 0.0.1-1.0.27.el7 | ELSA-2019-4816 |
Advisories 6
- RHSA-2019:3811 Red Hat Security Advisory: OpenShift Container Platform 3.9 atomic-openshift security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:3239 Red Hat Security Advisory: OpenShift Container Platform 3.10 atomic-openshift security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- RHBA-2019:2816 Red Hat Bug Fix Advisory: OpenShift Container Platform 3.11 bug fix update Red Hat Security Advisories (RHSA) · Feb 21, 2026
- RHBA-2019:2794 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.1.16 packages update Red Hat Security Advisories (RHSA) · Feb 21, 2026
- ELSA-2019-4816 Important: kubernetes security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 31, 2020
References
- v1.13.9, v1.14.5, v1.15.2 released to address CVE-2019-11247, CVE-2019-11249 mailing-list
- https://github.com/kubernetes/kubernetes/issues/80984
- https://security.netapp.com/advisory/ntap-20190919-0003/
- RHBA-2019:2816 vendor-advisory
- RHBA-2019:2794 vendor-advisory
- RHBA-2019:2824 vendor-advisory
- RHSA-2019:3239 vendor-advisory
- RHSA-2019:3811 vendor-advisory