~ / search / GHSA-9p26-698r-w4hx

GHSA-9p26-698r-w4hx

BuildKit vulnerable to possible panic when incorrect parameters sent from frontend

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-23650

Packages

EcosystemPackageAffectedFixed in
Go github.com/moby/buildkit < 0.12.5 0.12.5

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

References

External links from the advisory. They lead to third-party sites.