All reports
Medium

BuildKit vulnerable to possible panic when incorrect parameters sent from frontend

Affected versions

Version ranges need review.

Affected versions
<0.12.5
Fixed version
0.12.5
Affected versions
< 0.12.5
Fixed version
0.12.5
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-23650

Probability of exploitation in the next 30 days: 1.14%

FIRST EPSS · 2026-11-24

Description

Impact

A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic.

Patches

The issue has been fixed in v0.12.5

Workarounds

Avoid 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.

References

Links

Credits

  • cpuguy83
  • @cpuguy83