{"id":"CVE-2024-23650","published":"2024-01-31T21:42:13Z","modified":"2024-11-12T20:15:05Z","title":"BuildKit possible panic when incorrect parameters sent from frontend","vendor":"moby","product":"buildkit","tier":"tail","description":{"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0114,"percentile":0.67414,"provenance":"source"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/moby/buildkit/pull/4601","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.12.5","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":13.48},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"moby","affectedVersions":[{"vendor":"moby","product":"buildkit","versions":["< 0.12.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-12T20:14:10.344196Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/moby/buildkit","vulnerableRanges":["<0.12.5"],"patched":["0.12.5"],"from":["GHSA-9p26-698r-w4hx","GO-2024-2492"],"provenance":"source"}],"summary":{"text":"The vulnerability is in the BuildKit toolkit's daemon, where a request crafted with incorrect parameters from a frontend can trigger an unhandled panic. An attacker who can get a malicious BuildKit client or frontend to submit such a request, with no authentication or user interaction required over network access, can crash the BuildKit daemon, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:47Z"},"euvd":{"id":"EUVD-2024-0315","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moby-buildkit-cve-2024-23650","children":[{"from":"CVE-2024-23650","to":"CVE-2024-23653","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/gateway/gateway.go"],"commits":["https://github.com/moby/buildkit/commit/481d9c45f473c58537f39694a38d7995cc656987","https://github.com/moby/buildkit/commit/7718bd5c3dc8fc5cd246a30cc41766e7a53c043c","https://github.com/moby/buildkit/commit/5026d95aa3336e97cfe46e3764f52d08bac7a10e","https://github.com/moby/buildkit/commit/92cc595cfb12891d4b3ae476e067c74250e4b71e"],"basis":"rarely changed file"}]}]}}