Vulnerability
CVE-2024-23652
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.
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-23652
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…
- ALPINE-EDGE-CVE-2024-23652
-
AZL-34086
CVE-2024-23652 affecting package moby-engine for versions less than 20.10.27-4
-
AZL-35010
CVE-2024-23652 affecting package moby-engine for versions less than 25.0.3-1
- CGA-2c74-9px2-h6cx
- CGA-347j-q7x3-gphj
- CGA-352m-57rc-vhx5
- CGA-4cqj-crpx-whx6
- CGA-4fm6-m52w-wq68
- CGA-4hqf-g27h-2956
- CGA-4q38-9ghc-fgrp
- CGA-555r-f246-pcq9
- CGA-5f25-7gq2-9xm4
- CGA-5x84-2qr3-r945
- CGA-5xp6-6398-3h2h
- CGA-6www-2pr7-g6qr
- CGA-7g53-7r94-ff52
- CGA-89h5-236x-5376
- CGA-9227-73v3-gh87
- CGA-9gv2-2xq4-92hw
- CGA-f82x-9696-9q8q
- CGA-ff3v-w3vx-5w6r
- CGA-g98p-2cxf-999h
- CGA-h4g7-mw5v-qwpq
- CGA-hfqj-7733-gvrg
- CGA-j43p-mrgq-446j
- CGA-jc7g-9rhv-jfw6
- CGA-jqw9-7gc7-83mf
- CGA-m33q-rvgg-2p3m
- CGA-mc6v-65xr-5gg5
- CGA-mqxv-cqw2-86mf
- CGA-p4gm-4rwp-hhpr
- CGA-p999-c642-hcp3
- CGA-q294-mgpm-gjw3
- CGA-q9hx-2q7v-4cf3
- CGA-r9hv-4c54-x36v
- CGA-rgc7-w3p4-pc7f
- CGA-rmxx-vggg-vmj5
- CGA-rq3x-qh37-jm8q
- CGA-rvc8-529c-rw8w
- CGA-rwpw-2hqx-6mrh
- CGA-v49q-v3w3-xh26
- CGA-vgf4-75f9-xmf9
- CGA-vxhh-jvhh-2hx4
- CGA-x26h-mc3w-c434
- CGA-xf2g-7gcq-qf58
-
GHSA-4v98-7qmw-rqr8
BuildKit vulnerable to possible host system access from mount stub cleaner
-
GO-2024-2494
Host system modification 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-23652
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…
-
UBUNTU-CVE-2024-23652
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…
-
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