GO-2024-2494
Host system modification in github.com/moby/buildkit
At a glance
- Published
- Updated
- CVE
- CVE-2024-23652
- Aliases
- GHSA-4v98-7qmw-rqr8
Description
A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/moby/buildkit | introduced 0, fixed 0.12.5 |
References
- https://github.com/moby/buildkit/security/advisories/GHSA-4v98-7qmw-rqr8 ADVISORY
- https://github.com/moby/buildkit/pull/4603 FIX
- https://github.com/moby/buildkit/releases/tag/v0.12.5 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |