{"id":"CVE-2024-23650","aliases":["CVE-2024-23650","GHSA-9p26-698r-w4hx","GO-2024-2492"],"related":["CGA-v4qr-xpwq-274m"],"kind":"vulnerability","state":"published","title":"BuildKit possible panic when incorrect parameters sent from frontend","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic.\n\n### Patches\nThe issue has been fixed in v0.12.5\n\n### Workarounds\nAvoid using BuildKit frontends from untrusted sources. A frontend image is usually specified as the `#syntax` line on your Dockerfile, or with `--frontend` flag when using `buildctl build` command. \n\n### References","format":"markdown","source":"ghsa"},{"lang":"en","text":"A malicious BuildKit client or frontend could craft a request that could lead to a BuildKit daemon crashing with a panic.","format":"markdown","source":"go"},{"lang":"es","text":"BuildKit es un conjunto de herramientas para convertir código fuente para crear artefactos de manera eficiente, expresiva y repetible. Un cliente o interfaz de BuildKit malicioso podría crear una solicitud que podría provocar que el daemon BuildKit se bloquee en pánico. El problema se solucionó en v0.12.5. Como workaround, evite utilizar interfaces BuildKit de fuentes que no sean de confianza.","source":"nvd"}],"published":"2024-01-31T21:42:13.382Z","modified":"2026-09-10T03:50:09.287Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"version":"< 0.12.5","status":"affected"}],"vendor":"moby","product":"buildkit","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.12.5","status":"affected"}],"vendor":"moby","product":"buildkit","cpe":"cpe:2.3:a:moby:buildkit:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.5"}],"ecosystem":"Go","package":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.5"}],"ecosystem":"Go","package":"github.com/moby/buildkit","purl":"pkg:golang/github.com/moby/buildkit","source":"go"},{"ranges":[{"status":"affected","fixed":"0.12.5"}],"vendor":"mobyproject","product":"buildkit","cpe":"cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/moby/buildkit/pull/4601","tags":["fix","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.12.5","tags":["patch","release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23650","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/moby/buildkit/commit/481d9c45f473c58537f39694a38d7995cc656987","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/moby/buildkit/commit/7718bd5c3dc8fc5cd246a30cc41766e7a53c043c","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/moby/buildkit/commit/83edaef59d545b93e2750f1f85675a3764593fee","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/moby/buildkit/commit/96663dd35bf3787d7efb1ee7fd9ac7fe533582ae","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/moby/buildkit/commit/e1924dc32da35bfb0bfdbb9d0fc7bca25e552330","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/moby/buildkit","tags":["package"],"sources":["ghsa"]}],"credits":["@cpuguy83"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-11-12T20:14:10.344Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23650","url":"https://www.cve.org/CVERecord?id=CVE-2024-23650","licence":"CVE Terms of Use","modified":"2024-11-12T20:15:05.078Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9p26-698r-w4hx","url":"https://github.com/advisories/GHSA-9p26-698r-w4hx","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.287Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2492","url":"https://pkg.go.dev/vuln/GO-2024-2492","licence":"CC-BY-4.0","modified":"2026-02-04T04:01:30.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23650","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23650","licence":"Public domain","modified":"2026-06-17T07:13:18.483Z"}],"updatedAt":"2026-11-25T22:58:36.486Z","epss":{"score":0.0114,"percentile":0.67548,"date":"2026-12-01T12:00:22.000Z"}}