CVE-2019-11249
29.08.2019, 01:15
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 users 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 users 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.
Vendor | Product | Version |
---|---|---|
kubernetes | kubernetes | 1.0.0 ≤ 𝑥 ≤ 1.12.10 |
kubernetes | kubernetes | 1.13.0 ≤ 𝑥 < 1.13.9 |
kubernetes | kubernetes | 1.14.0 ≤ 𝑥 < 1.14.5 |
kubernetes | kubernetes | 1.15.0 ≤ 𝑥 < 1.15.2 |
kubernetes | kubernetes | 1.12.11:beta0 |
redhat | openshift_container_platform | 3.9 |
redhat | openshift_container_platform | 3.10 |
redhat | openshift_container_platform | 3.11 |
redhat | openshift_container_platform | 4.1 |
𝑥
= Vulnerable software versions

Debian Releases

Ubuntu Releases
Common Weakness Enumeration
- CWE-61 - UNIX Symbolic Link (Symlink) FollowingThe software, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the software to operate on unauthorized files.
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
References