Bug 2262225 (CVE-2024-23652) - CVE-2024-23652 moby/buildkit: possible host system access from mount stub cleaner
Summary: CVE-2024-23652 moby/buildkit: possible host system access from mount stub cle...
Keywords:
Status: NEW
Alias: CVE-2024-23652
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2317700 2318162
Blocks: 2258742
TreeView+ depends on / blocked
 
Reported: 2024-02-01 09:56 UTC by TEJ RATHI
Modified: 2025-06-17 08:28 UTC (History)
50 users (show)

Fixed In Version: buildkit 0.12.5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2024-02-01 09:56:28 UTC
Docker Buildkit <=v0.12.4, as used by the Docker engine. Exploitation of this issue can result in arbitrary file and directory deletion in the underlying host OS when building an image using a malicious Dockerfile or upstream image (i.e, when using FROM)

https://snyk.io/blog/cve-2024-23652-buildkit-build-time-container-teardown-arbitrary-delete/
https://github.com/moby/buildkit/pull/4603
https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8


Note You need to log in before you can comment on or make changes to this bug.