{"id":"GO-2024-2493","summary":"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.","aliases":["CVE-2024-23651","GHSA-m3r6-h7wv-7xxv"],"modified":"2026-03-17T04:50:36.452917Z","published":"2024-02-13T18:23:00Z","related":["CGA-8ggv-jvp5-fgqx"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-2493","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://github.com/moby/buildkit/pull/4604"}],"affected":[{"package":{"name":"github.com/moby/buildkit","ecosystem":"Go","purl":"pkg:golang/github.com/moby/buildkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.5"}]}],"ecosystem_specific":{"imports":[{"symbols":["sub","submounts.cleanup","submounts.subMount"],"path":"github.com/moby/buildkit/executor/oci"},{"symbols":["LocalMounter","LocalMounterWithMounts","localMounter.Mount"],"path":"github.com/moby/buildkit/snapshot"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2493.json"}}],"schema_version":"1.7.5","credits":[{"name":"@rmcnamara-snyk"}]}