Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-34jx-wx69-9x8v

Опубликовано: 15 фев. 2022
Источник: github
Github: Прошло ревью
CVSS3: 5.5

Описание

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.

Пакеты

Наименование

k8s.io/kubernetes

go
Затронутые версииВерсия исправления

< 1.11.9

1.11.9

Наименование

k8s.io/kubernetes

go
Затронутые версииВерсия исправления

>= 1.12.0, < 1.12.7

1.12.7

Наименование

k8s.io/kubernetes

go
Затронутые версииВерсия исправления

>= 1.13.0, < 1.13.5

1.13.5

EPSS

Процентиль: 98%
0.49434
Средний

5.5 Medium

CVSS3

Дефекты

CWE-59

Связанные уязвимости

CVSS3: 6.4
ubuntu
около 6 лет назад

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.

CVSS3: 5.3
redhat
около 6 лет назад

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.

CVSS3: 6.4
nvd
около 6 лет назад

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.

CVSS3: 6.4
debian
около 6 лет назад

The kubectl cp command allows copying files between containers and the ...

oracle-oval
около 6 лет назад

ELSA-2019-4593: kubernetes kubeadm-upgrade kubeadm-ha-setup security update (IMPORTANT)

EPSS

Процентиль: 98%
0.49434
Средний

5.5 Medium

CVSS3

Дефекты

CWE-59