CVE-2024-23650BuildKit possible panic when incorrect parameters sent from frontend
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic. The issue has been fixed in v0.12.5. As a workaround, avoid using BuildKit frontends from untrusted sources.
What to do
Fixed builds are available from Alpine, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | docker.io-app | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | docker.io-app | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | docker.io-app | Fixed | 27.5.1-0ubuntu3~24.04.2 | UBUNTU-CVE-2024-23650 |
| Ubuntu 22.04 | docker.io-app | Fixed | 27.5.1-0ubuntu3~22.04.2 | UBUNTU-CVE-2024-23650 |
| Ubuntu 20.04 | docker.io-app | Fix pending | 26.1.3-0ubuntu1~20.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-23650 |
| Ubuntu 16.04 | docker.io | Fix pending | ||
| Ubuntu 14.04 | docker.io | Fix pending | ||
| Red Hat Enterprise Linux 9 | buildah | Not affected | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.10.0-1.module+el8.10.0+21209+52deeb51 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 2:1.33.6-2.module+el8.10.0+21371+46937ece | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 2:1.33.6-2.module+el8.10.0+21371+46937ece | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+21373+0d273fdf | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+21077+98b84d8a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-2.module+el8.10.0+21366+f9cb49f8 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-81.module+el8.10.0+21340+c6c7475a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+21340+c6c7475a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+20412+95ee28e2 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-1.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+21306+6be40ce7 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+20565+a40ba0e5 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.9.0-1.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.14.3-0.1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.14.3-0.1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+21306+6be40ce7 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-20.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.0-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+1872+2e18eb19 | RLSA-2024:2988 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+1896+b18fa106 | RLSA-2024:2988 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-81.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+1445+07728297 | RLSA-2024:2988 |
| Rocky Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+1896+b18fa106 | RLSA-2024:2988 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+1896+b18fa106.rocky.0.2 | RLSA-2024:2988 |
| Alpine Linux 3.24 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.24 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.24 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.23 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.23 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.23 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.22 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.22 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.22 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.21 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.21 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.21 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.20 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.20 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.20 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.19 | buildkit | Fixed | 0.12.5-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.19 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.19 | singularity | Fixed | 4.1.1-r0 | ALPINE-CVE-2024-23650 |
| Alpine Linux 3.18 | docker | Fixed | 25.0.2-r0 | ALPINE-CVE-2024-23650 |
| Go library | github.com/moby/buildkit | Fixed | 0.12.5 | GHSA-9p26-698r-w4hx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moby buildkit: affected: < 0.12.5
References
- https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx
- https://github.com/moby/buildkit/pull/4601
- https://github.com/moby/buildkit/releases/tag/v0.12.5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.