Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

kubectl cp path traversal

CVSS 3.0 6.4 MEDIUMEUVD CVSS 3.0 6.4 CVSS 3.0 · [email protected] · Secondary 6.4 MEDIUMCVSS 3.0 · [email protected] · Primary 5.5 MEDIUMCVSS 2.0 · [email protected] · Primary 5.8 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by k8s.io/kubernetes 1.11.9Fixed by k8s.io/kubernetes 1.12.7Fixed by k8s.io/kubernetes 1.13.5osv · severity unknownFixed by k8s.io/kubernetes 1.11.9Fixed by k8s.io/kubernetes 1.12.7Fixed by k8s.io/kubernetes 1.13.5KEV status unknown

cve-program · CVE-2019-1002101

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-0775

Published

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.

Read the publisher's advisory

nvd · CVE-2019-1002101

Published

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.

Read the publisher's advisory

osv · GHSA-34jx-wx69-9x8v

Published

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.

Read the publisher's advisory

osv · GO-2022-0782

Published

Symlink Attack in kubectl cp in k8s.io/kubernetes

Read the publisher's advisory

Affected versions, risk and source history

Related advisories and sources

Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.

CVE-2019-1002101 · CVE overview and exploitation status

EUVD-2022-0775

GHSA-34jx-wx69-9x8v

GO-2022-0782

cve-program · CVE-2019-1002101

euvd · EUVD-2022-0775

nvd · CVE-2019-1002101

osv · GHSA-34jx-wx69-9x8v

osv · GO-2022-0782

Related changes

Linked by CVE identifier

No related changes are available here.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 05:53 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current