Security mailing lists by PureSourceCode

CVE-2019-1002101

MEDIUM 5.5CVSS 3.0

Symlink Attack in kubectl cp

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, 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. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.

Published
1 Apr 2019
Last modified
10 Sep 2026
Assigned by
josh@bress.net
NVD status
Modified
Weakness
CWE-59
Also known as
GHSA-34jx-wx69-9x8vGO-2022-0782
Sources
NVDJSONOSV GHSA-34jx-wx69-9x8vJSONOSV GO-2022-0782JSON

Scores

SourceScored byVersionScoreVector / decision
NVD josh@bress.net (Secondary) CVSS 3.0 MEDIUM 6.4 CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kubernetes kubernetes
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
>= 1.11.0, < 1.11.9 1.11.9
NVD kubernetes kubernetes
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
>= 1.12.0, < 1.12.7 1.12.7
NVD kubernetes kubernetes
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*
>= 1.13.0, < 1.13.5 1.13.5
NVD kubernetes kubernetes
cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:*
= 1.14.0
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:*
= 3.9
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:*
= 3.10
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
= 3.11
OSV Go k8s.io/kubernetes < 1.11.9 1.11.9
OSV Go k8s.io/kubernetes >= 1.12.0, < 1.12.7 1.12.7
OSV Go k8s.io/kubernetes >= 1.13.0, < 1.13.5 1.13.5
OSV Go k8s.io/kubernetes < 1.11.9; >= 1.12.0, < 1.12.7; >= 1.13.0, < 1.13.5 1.11.9, 1.12.7, 1.13.5

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 1 Apr 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.