VDB

CVE-2019-11246

CVE-2019-11246 PUBLISHED CVSS 6.4 MEDIUM

kubectl cp allows symlink directory traversal

Reported by kubernetes · Published August 29, 2019

github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp is fixed in 1.15.2, 1.14.5, 1.13.9 and 1 more (Go Modules)

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.12.9, versions prior to 1.13.6, versions prior to 1.14.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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cpGo Modules1.15.2, 1.14.5, 1.13.9, 1.12.11
kuberneteskubernetes1.15.2, 1.14.5, 1.13.9, 1.12.10

Risk scores

CVSS 3.0
6.4
CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
KubernetesKubernetesprior to 1.12.9, prior to 1.13.6, prior to 1.14.2
github.comkubernetes/kubernetes/pkg/kubectl/cmd/cp1.0.0, 1.13.0, 1.14.0
KubernetesKubernetes1.2, 1.4, 1.5

Timeline

  • Aug 29, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory
  • Sep 16, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-11246
vulnetix vdb fixes CVE-2019-11246

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11246/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›