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

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

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

BuildKit possible race condition with accessing subpaths from cache mounts

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

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

EPSS

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

8.7 High

CVSS3

Дефекты

CWE-362