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.
References
Link | Resource |
---|---|
https://github.com/moby/buildkit/pull/4604 | Patch Vendor Advisory |
https://github.com/moby/buildkit/releases/tag/v0.12.5 | Patch Release Notes |
https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxv | Vendor Advisory |
https://github.com/moby/buildkit/pull/4604 | Patch Vendor Advisory |
https://github.com/moby/buildkit/releases/tag/v0.12.5 | Patch Release Notes |
https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxv | Vendor Advisory |
Configurations
History
21 Nov 2024, 08:58
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.7 |
References | () https://github.com/moby/buildkit/pull/4604 - Patch, Vendor Advisory | |
References | () https://github.com/moby/buildkit/releases/tag/v0.12.5 - Patch, Release Notes | |
References | () https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxv - Vendor Advisory |
09 Feb 2024, 01:43
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.4 |
References | () https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxv - Vendor Advisory | |
References | () https://github.com/moby/buildkit/pull/4604 - Patch, Vendor Advisory | |
References | () https://github.com/moby/buildkit/releases/tag/v0.12.5 - Patch, Release Notes | |
First Time |
Mobyproject
Mobyproject buildkit |
31 Jan 2024, 22:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-01-31 22:15
Updated : 2024-11-21 08:58
NVD link : CVE-2024-23651
Mitre link : CVE-2024-23651
CVE.ORG link : CVE-2024-23651
JSON object : View
Products Affected
mobyproject
- buildkit
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')