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

exploitDog

redhat логотип

CVE-2019-1002101

Опубликовано: 28 мар. 2019
Источник: redhat
CVSS3: 5.3
EPSS Средний

Описание

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.

A flaw was found in Kubernetes via the mishandling of symlinks when copying files from a running container. An attacker could exploit this by convincing a user to use kubectl cp or oc cp with a malicious container, allowing for arbitrary files to be overwritten on the host machine.

Отчет

This issue affects Kubernetes starting from version 1.9. OpenShift Container Platform (OCP) versions 3.9 and later are also affected. This issue did not affect the version of Kubernetes(embedded in heketi) shipped with Red Hat Gluster Storage 3 as it does not contain the vulnerable code.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat OpenShift Container Platform 3.4atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.5atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.6atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.7atomic-openshiftNot affected
Red Hat OpenShift Container Platform 4openshiftNot affected
Red Hat Storage 3heketiNot affected
Red Hat OpenShift Container Platform 3.10atomic-enterprise-service-catalogFixedRHBA-2019:062009.04.2019
Red Hat OpenShift Container Platform 3.10atomic-openshiftFixedRHBA-2019:062009.04.2019
Red Hat OpenShift Container Platform 3.10atomic-openshift-deschedulerFixedRHBA-2019:062009.04.2019
Red Hat OpenShift Container Platform 3.10atomic-openshift-dockerregistryFixedRHBA-2019:062009.04.2019

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=1685213kubernetes: Mishandling of symlinks allows for arbitrary file write via `kubectl cp`

EPSS

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

5.3 Medium

CVSS3

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

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: 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 ...

CVSS3: 5.5
github
больше 3 лет назад

Symlink Attack in kubectl cp

oracle-oval
больше 6 лет назад

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

EPSS

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

5.3 Medium

CVSS3