blob: 0d781032ab4504813d39adc4788381d047e1cebd [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-2493",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2024-23651",
"GHSA-m3r6-h7wv-7xxv"
],
"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"
},
"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"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/moby/buildkit/pull/4604"
}
],
"credits": [
{
"name": "@rmcnamara-snyk"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2493"
}
}