Go Vulnerability Database
GO-2024-2493
Host system file access in github.com/moby/buildkit
Details
Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/moby/buildkit | All versions before 0.12.5 (fixed in 0.12.5) |