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

exploitDog

github логотип

GHSA-4v98-7qmw-rqr8

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

Описание

BuildKit vulnerable to possible host system access from mount stub cleaner

Impact

A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system.

Patches

The issue has been fixed in v0.12.5

Workarounds

Avoid using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

References

Пакеты

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

github.com/moby/buildkit

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

< 0.12.5

0.12.5

EPSS

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

10 Critical

CVSS3

Дефекты

CWE-22

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

CVSS3: 10
ubuntu
около 2 лет назад

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

CVSS3: 7.8
redhat
около 2 лет назад

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

CVSS3: 10
nvd
около 2 лет назад

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

CVSS3: 9.1
msrc
около 2 лет назад

Описание отсутствует

CVSS3: 10
fstec
около 2 лет назад

Уязвимость программного средства сборки контейнеров BuildKit, связанная с неверным ограничением имени пути к каталогу с ограниченным доступом, позволяющая нарушителю удалить произвольные файлы за пределами контейнера

EPSS

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

10 Critical

CVSS3

Дефекты

CWE-22