CVE-2019-11249
1 minute read
This vulnerability may allow an attacker to use the kubectl cp
command to write malicious files in the container tar
package to any path on the host using Path Traversal. This process is limited only by the system permissions of the local user.
Scope
This vulnerability has a similar impact caused by CVE-2019-1002101 and CVE-2019-11246 that were found not long before.
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 (Path Traversal) on the user’s machine when kubectl cp is called.
Fixed by Official
- v1.15.2
- v1.14.5
- v1.13.9
Fixed by KLTS
- v1.12.10-lts.1 CVE-2019-11249.1.12.patch
- v1.11.10-lts.1 CVE-2019-11249.1.12.patch
- v1.10.13-lts.1 CVE-2019-11249.1.10.patch
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.