{"schema_version":"1.7.3","id":"GO-2024-2493","published":"2024-02-13T18:23:00Z","modified":"2026-02-04T03:54:04.291374Z","aliases":["CVE-2024-23651","GHSA-m3r6-h7wv-7xxv"],"related":["CGA-8ggv-jvp5-fgqx"],"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.","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":[{"path":"github.com/moby/buildkit/executor/oci","symbols":["sub","submounts.cleanup","submounts.subMount"]},{"path":"github.com/moby/buildkit/snapshot","symbols":["LocalMounter","LocalMounterWithMounts","localMounter.Mount"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2493.json"}}],"references":[{"type":"FIX","url":"https://github.com/moby/buildkit/pull/4604"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2024-2493"},"credits":[{"name":"@rmcnamara-snyk"}]}