CVE-2024-23651
highpriority · track · 30EPSS 0.009 · 60 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (51)
Products and version ranges known to be affected.
- Dell PowerProtect Data Domain Management Centerall versionscert_bundDEcpe:/a:dell:powerprotect_data_domain_management_center:-
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0272docker: Mehrere SchwachstellenDeutsch2024-01-31csaf · cert_bundDE
Ein entfernter Angreifer kann mehrere Schwachstellen in Docker ausnutzen, um seine Privilegien zu erhöhen, einen Denial-of-Service-Zustand zu verursachen, vertrauliche Informationen offenzulegen, Sicherheitsmaßnahmen zu umgehen oder Dateien zu manipulieren.
- WID-SEC-W-2024-3377Dell PowerProtect Data Domain: Mehrere SchwachstellenDeutsch2024-11-07csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Dell PowerProtect Data Domain ausnutzen, um seine Privilegien zu erhöhen, Informationen offenzulegen und um nicht näher beschriebene Auswirkungen zu erzielen.
- GHSA-m3r6-h7wv-7xxvBuildKit vulnerable to possible race condition with accessing subpaths from cache mounts2024-01-31ghsa · osvUS
### 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
- GO-2024-2493Host system file access in github.com/moby/buildkit2024-02-13vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-23651/cnnvd
- https://github.com/moby/buildkit/pull/4604cnnvd
- https://github.com/moby/buildkit/releases/tag/v0.12.5cnnvd
- https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxvcnnvd
- https://vigilance.fr/vulnerability/BuildKit-four-vulnerabilities-43425cnnvd
- https://github.com/moby/buildkit/pull/4604enisa_euvd
- https://github.com/moby/buildkit/releases/tag/v0.12.5enisa_euvd
- https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxvenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan