VDB

CVE-2019-11249

CVE-2019-11249 PUBLISHED CVSS 4.8 MEDIUM

kubectl cp allows symlink directory traversal

Reported by kubernetes · Published August 29, 2019

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.

Fixed versions

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

PackageEcosystemFixed in
k3sAlpine0.8.0-r0
kuberneteskubernetes1.15.2, 1.14.5, 1.13.9, 1.12.10

Risk scores

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

Affected products

VendorProductVersions
KubernetesKubernetesprior to 1.13.9, prior to 1.14.5, prior to 1.15.2
alpinek3s0
KubernetesKubernetes1.13.9, 1.14.5, 1.15.2
github.comkubernetes/kubernetes/pkg/kubectl/cmd/cp1.0.0, 1.13.0, 1.14.0

Timeline

  • Aug 29, 2019 CVE Published
  • Nov 7, 2019 CVE Updated
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (6 in total, the first dated here)
  • Sep 16, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-11249
vulnetix vdb fixes CVE-2019-11249

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-11249/fixes/registry"

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

References

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