Vulnerability
CVE-2024-23651
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.
65 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2023-2024-542
Amazon Linux 2023 - ALAS2023-2024-542: Important priority package update for docker
-
ALPINE-CVE-2024-23651
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…
- ALPINE-EDGE-CVE-2024-23651
-
AZL-34085
CVE-2024-23651 affecting package moby-engine for versions less than 20.10.27-4
-
AZL-35005
CVE-2024-23651 affecting package moby-engine for versions less than 25.0.3-1
- CGA-37vp-p2q7-rcx6
- CGA-3gcq-q46c-rrcp
- CGA-497w-wj5g-vf78
- CGA-4c6v-jx3w-jrp3
- CGA-5fwv-88qx-x3wj
- CGA-69mp-c8q4-3j2j
- CGA-7pf6-4pjw-9jh4
- CGA-7vjf-wfvg-6gw7
- CGA-84c7-7593-jpq2
- CGA-8fc2-fcw4-357r
- CGA-8jfw-93xh-7q5f
- CGA-8xmf-5vv5-gv8r
- CGA-94pg-5gqv-jvcc
- CGA-97p7-4phq-9f6x
- CGA-c5gr-8x83-726w
- CGA-f25m-x5hp-qfjj
- CGA-f3fm-mg9g-hxwg
- CGA-fqv8-3w2f-mf3w
- CGA-fwfp-r536-wxcv
- CGA-g7f9-xpmp-223h
- CGA-gmf8-x9rw-hmc8
- CGA-gw42-vx6g-6qc3
- CGA-hjg8-2x7m-jh2h
- CGA-hjx8-4669-5wqx
- CGA-jq3r-3wcm-hh9q
- CGA-m6w4-gvfw-w5fh
- CGA-m7jv-mfrf-55wm
- CGA-mc5m-6v7r-4c7r
- CGA-mv5c-v96c-gvc6
- CGA-mxpp-2q4x-3qf9
- CGA-p637-rmgq-5cgq
- CGA-p8hp-rhf3-33w8
- CGA-pwr5-q6vc-82mr
- CGA-pxwf-p877-gx2g
- CGA-q32w-8mxq-5qfw
- CGA-vvwc-4wv3-7f2v
- CGA-w2pj-8q36-p7vj
- CGA-wgc4-3m99-rpm8
- CGA-wp54-hxxf-7874
- CGA-wp75-2cw4-83gp
- CGA-wxrc-xx2f-6v4g
- CGA-x3vh-hfrc-78m7
-
GHSA-m3r6-h7wv-7xxv
BuildKit vulnerable to possible race condition with accessing subpaths from cache mounts
-
GO-2024-2493
Host system file access in github.com/moby/buildkit
-
SUSE-SU-2024:0586-1
Security update for docker
-
SUSE-SU-2024:0586-2
Security update for docker
-
SUSE-SU-2024:0587-1
Security update for docker
-
SUSE-SU-2024:1469-1
Security update for docker
-
SUSE-SU-2024:3120-1
Security update for buildah, docker
-
SUSE-SU-2025:03540-1
Security update for docker-stable
-
SUSE-SU-2025:03545-1
Security update for docker-stable
-
SUSE-SU-2025:20056-1
Security update for docker
-
SUSE-SU-2025:20107-1
Security update for buildkit
-
SUSEVEX-CVE-2024-23651
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…
-
UBUNTU-CVE-2024-23651
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…
-
USN-7474-1
docker.io vulnerabilities
-
openSUSE-SU-2024:13651-1
buildkit-0.12.5-1.1 on GA media
-
openSUSE-SU-2024:13689-1
docker-24.0.7_ce-3.1 on GA media
-
openSUSE-SU-2024:14059-1
singularity-ce-4.1.3-1.1 on GA media
-
openSUSE-SU-2025:15589-1
docker-stable-24.0.9_ce-15.1 on GA media