CVE-2024-23650
BuildKit possible panic when incorrect parameters sent from frontend
Reported by github_m · Published January 31, 2024
github.com/moby/buildkit is fixed in 0.12.5 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/moby/buildkit | Go Modules | 0.12.5 |
| guac | Chainguard | 0.4.0-r1 |
| buildkit | Alpine | 0.12.5-r0 |
| kubescape | Chainguard | 3.0.3-r7 |
| conftest | Wolfi | 0.49.0-r1 |
| buildkitd | Wolfi | 0.12.5-r0 |
| guac | Wolfi | 0.4.0-r1 |
| trivy | Wolfi | 0.49.0-r1 |
| datadog-agent | Chainguard | 7.50.3-r1 |
| buildkitd | Chainguard | 0.12.5-r0 |
| docker | Alpine | 25.0.2-r0 |
| zot | Wolfi | 2.0.1-r2 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| moby | buildkit | < 0.12.5 |
| chainguard | guac | 0 |
| alpine | buildkit | 0 |
| github.com | moby/buildkit | 0 |
| chainguard | kubescape | 0 |
| wolfi | conftest | 0 |
| wolfi | buildkitd | 0 |
| wolfi | guac | 0 |
| moby | buildkit | 0 |
| wolfi | trivy | 0 |
| chainguard | datadog-agent | 0 |
| chainguard | buildkitd | 0 |
| alpine | docker | 0 |
| wolfi | zot | 0 |
| wolfi | docker | 0 |
| chainguard | conftest | 0 |
| chainguard | kaniko | 0 |
| chainguard | docker | 0 |
| wolfi | skaffold | 0 |
| wolfi | scorecard | 0 |
…and 12 more
Timeline
- Jan 31, 2024 CVE Published
- Jan 31, 2024 Fix PR Merged
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Oct 12, 2025 CVE Updated
- Jan 17, 2026 Security Advisory (41 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (32 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23650
vulnetix vdb fixes CVE-2024-23650
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23650/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx x_refsource_CONFIRM
- https://github.com/moby/buildkit/pull/4601 x_refsource_MISC
- https://github.com/moby/buildkit/releases/tag/v0.12.5 x_refsource_MISC
- https://github.com/advisories/GHSA-9p26-698r-w4hx advisory