GHSA-9p26-698r-w4hx
BuildKit vulnerable to possible panic when incorrect parameters sent from frontend
At a glance
- Published
- Updated
- CVE
- CVE-2024-23650
- Aliases
- GO-2024-2492
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/moby/buildkit | introduced 0, fixed 0.12.5 |
References
- https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23650 ADVISORY
- https://github.com/moby/buildkit/pull/4601 WEB
- https://github.com/moby/buildkit/commit/481d9c45f473c58537f39694a38d7995cc656987 WEB
- https://github.com/moby/buildkit/commit/7718bd5c3dc8fc5cd246a30cc41766e7a53c043c WEB
- https://github.com/moby/buildkit/commit/83edaef59d545b93e2750f1f85675a3764593fee WEB
- https://github.com/moby/buildkit/commit/96663dd35bf3787d7efb1ee7fd9ac7fe533582ae WEB
- https://github.com/moby/buildkit/commit/e1924dc32da35bfb0bfdbb9d0fc7bca25e552330 WEB
- https://github.com/moby/buildkit PACKAGE
- https://github.com/moby/buildkit/releases/tag/v0.12.5 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |