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

exploitDog

github логотип

GHSA-m3r6-h7wv-7xxv

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

Описание

BuildKit vulnerable to possible race condition with accessing subpaths from cache mounts

Impact

Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container.

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 cache mounts with --mount=type=cache,source=... options.

References

https://www.openwall.com/lists/oss-security/2019/05/28/1

Пакеты

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

github.com/moby/buildkit

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

< 0.12.5

0.12.5

EPSS

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

8.7 High

CVSS3

Дефекты

CWE-362

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

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

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

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

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

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

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

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

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

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

Уязвимость программного средства сборки контейнеров BuildKit, связанная с ошибками синхронизации при использовании общего ресурса («Ситуация гонки»), позволяющая нарушителю получить несанкционированный доступ к файлам с хост-системы для контейнера сборки

EPSS

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

8.7 High

CVSS3

Дефекты

CWE-362