Логотип 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

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

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 лет назад

BuildKit possible host system access from mount stub cleaner

CVSS3: 10
debian
больше 2 лет назад

BuildKit is a toolkit for converting source code to build artifacts in ...

EPSS

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

10 Critical

CVSS3

Дефекты

CWE-22