CVE-2024-23652
criticalpriority · attend · 47EPSS 0.025 · 84 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.6–10
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
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-4v98-7qmw-rqr8BuildKit vulnerable to possible host system access from mount stub cleaner2024-01-31ghsa · osvUS
### 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
- GO-2024-2494Host system modification in github.com/moby/buildkit2024-02-12vendor · osvUS
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.
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-23652/cnnvd
- https://github.com/moby/buildkit/pull/4603cnnvd
- https://github.com/moby/buildkit/releases/tag/v0.12.5cnnvd
- https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8cnnvd
- https://vigilance.fr/vulnerability/BuildKit-four-vulnerabilities-43425cnnvd
- https://github.com/moby/buildkit/pull/4603enisa_euvd
- https://github.com/moby/buildkit/releases/tag/v0.12.5enisa_euvd
- https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan