NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-23650: BuildKit vulnerable to possible panic when incorrect parameters sent from frontend

mediumCVSS 3.1 5.3GHSA-9p26-698r-w4hx

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

Published Jan 31, 2024 · Updated Mar 4, 2024

Affected packages

github.com/moby/buildkit

Ecosystem
Go
Affected
< 0.12.5
Fixed in
0.12.5
Check
go list -m github.com/moby/buildkit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to cpuguy83.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries