CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HKnown as Leaky Vessels
Critical (9.8) in mobyproject buildkit. EPSS 4.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/moby/buildkit 0.12.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hgithub.com/moby/buildkit (Go): fixed in 0.12.5Explain CVE-2024-23653 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23653?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23653?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-23653 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| mobyproject:buildkit | before 0.12.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wr6v-9f75-vh2g | Go | github.com/moby/buildkit | <0.12.5 | 0.12.5 |
| GO-2024-2497 | Go | github.com/moby/buildkit | <0.12.5 | 0.12.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 22.04:LTS | docker.io-app | 27.5.1-0ubuntu3~22.04.2 | UBUNTU-CVE-2024-23653 |
| Ubuntu | 24.04:LTS | docker.io-app | 27.5.1-0ubuntu3~24.04.2 | UBUNTU-CVE-2024-23653 |
| Ubuntu | Pro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTS and 1 more | docker.io | no fix listed | UBUNTU-CVE-2024-23653 |
| Ubuntu | Pro:20.04:LTS | docker.io-app | 26.1.3-0ubuntu1~20.04.1+esm1 | UBUNTU-CVE-2024-23653 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 15 more | docker | 24.0.7_ce-150000.193.1 | SUSE-SU-2024:0586-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 15 more | docker | 25.0.6_ce-150000.207.1 | SUSE-SU-2024:3120-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 7 more | docker-stable | 24.0.9_ce-150000.1.8.1 | SUSE-RU-2024:4391-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | buildah | 1.35.4-150300.8.25.1 | SUSE-SU-2024:3120-1 |
| SUSE | Linux Enterprise Module for Containers 12 | docker | 24.0.7_ce-98.106.1 | SUSE-SU-2024:0587-1 |
| SUSE | Linux Enterprise Module for Containers 12 | docker | 25.0.5_ce-98.112.1 | SUSE-SU-2024:1469-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP4 | docker | 24.0.7_ce-150000.193.1 | SUSE-SU-2024:0586-2 |
| SUSE | Linux Enterprise Module for Containers 15 SP6 | docker-stable | 24.0.9_ce-150000.1.11.1 | SUSE-SU-2025:0226-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | docker | 27.5.1_ce-98.126.1 | SUSE-SU-2025:1102-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | docker-stable | 24.0.9_ce-1.11.1 | SUSE-SU-2025:1102-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| 2 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.5, Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.8.1 | SUSE-RU-2024:4391-1 |
| openSUSE | Leap 15.5, Leap 15.6, Leap Micro 5.5 | docker | 25.0.6_ce-150000.207.1 | SUSE-SU-2024:3120-1 |
| openSUSE | Leap 15.5, Leap Micro 5.3, Leap Micro 5.4 | docker | 24.0.7_ce-150000.193.1 | SUSE-SU-2024:0586-1 |
| openSUSE | Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.11.1 | SUSE-SU-2025:0226-1 |
| openSUSE | Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| openSUSE | Tumbleweed | buildkit | 0.12.5-2.1 | openSUSE-SU-2024:13688-1 |
| openSUSE | Tumbleweed | docker | 24.0.7_ce-3.1 | openSUSE-SU-2024:13689-1 |
| openSUSE | Tumbleweed | docker-stable | 24.0.9_ce-4.1 | openSUSE-SU-2024:14571-1 |
| openSUSE | Tumbleweed | singularity-ce | 4.1.3-1.1 | openSUSE-SU-2024:14059-1 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | docker | 25.0.2-r0 | ALPINE-CVE-2024-23653 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | buildkit | 0.12.5-r0 | ALPINE-CVE-2024-23653 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | singularity | 4.1.1-r0 | ALPINE-CVE-2024-23653 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | podman | 4.9.2-r0 | ALPINE-CVE-2024-23653 |
| Azure Linux | 2 | moby-buildx | 0.7.1-18 | AZL-34078 |
| Azure Linux | 2 | moby-cli | 20.10.27-3 | AZL-34079 |
| Azure Linux | 2 | moby-compose | 2.17.2-7 | AZL-34081 |
| Azure Linux | 2 | moby-engine | 20.10.27-3 | AZL-34084 |
| Azure Linux | 3 | docker-buildx | 0.14.0-1 | AZL-35433 |
| Azure Linux | 3 | docker-compose | 2.27.0-1 | AZL-35439 |
| Azure Linux | 3 | moby-engine | 25.0.3-1 | AZL-34998 |
| Alpaquita | 23 | podman | 5.2.5-r0 | BELL-CVE-2024-23653 |
| Alpaquita | stream | docker | 25.0.2-r0 | BELL-CVE-2024-23653 |
| Alpaquita | stream | podman | 4.9.3-r0 | BELL-CVE-2024-23653 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
This vulnerability can only be exploited when a container execution is part of the build steps of another container. Additionally, an attacker needs to trick a user or process into processing an malicious Buildkit frontend. For these reasons, this flaw was rated with an important severity.
The risk of this vulnerability is to systems which build containers. It could have significant consequences to an organization's ability to release new versions of their software.
Red Hat has reviewed and removed previously listed "Not Affected" components from this CVE page to reduce confusion around containers/components
Do not use BuildKit frontends from untrusted sources.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-23653.