blob: 5bceb1a40a8ec2fcffe51f990e801938e01dfcb0 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-2497",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2024-23653",
"GHSA-wr6v-9f75-vh2g"
],
"summary": "Privilege escalation in github.com/moby/buildkit",
"details": "BuildKit provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special security.insecure entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request.",
"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/solver/llbsolver",
"symbols": [
"Solver.Solve",
"ValidateEntitlements",
"llbBridge.Exec",
"llbBridge.Run",
"provenanceBridge.Solve"
]
},
{
"path": "github.com/moby/buildkit/frontend/gateway/forwarder",
"symbols": [
"BridgeClient.NewContainer",
"GatewayForwarder.Solve",
"LLBBridgeToGatewayClient"
]
},
{
"path": "github.com/moby/buildkit/cmd/buildkitd",
"symbols": [
"newController"
]
},
{
"path": "github.com/moby/buildkit/frontend/gateway/container",
"symbols": [
"NewContainer"
]
},
{
"path": "github.com/moby/buildkit/frontend/gateway",
"symbols": [
"NewBridgeForwarder",
"gatewayFrontend.Solve",
"llbBridgeForwarder.NewContainer",
"newBridgeForwarder",
"serveLLBBridgeForwarder"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/moby/buildkit/pull/4602"
},
{
"type": "FIX",
"url": "https://github.com/moby/buildkit/commit/92cc595cfb12891d4b3ae476e067c74250e4b71e"
},
{
"type": "FIX",
"url": "https://github.com/moby/buildkit/commit/5026d95aa3336e97cfe46e3764f52d08bac7a10e"
},
{
"type": "WEB",
"url": "https://github.com/moby/buildkit/releases/tag/v0.12.5"
}
],
"credits": [
{
"name": "@rmcnamara-snyk"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2497"
}
}