A malicious BuildKit client or frontend could craft a request that could lead to a BuildKit daemon crashing with a panic.
{
"review_status": "REVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2024-2492"
}{
"imports": [
{
"path": "github.com/moby/buildkit/solver/llbsolver",
"symbols": [
"Solver.Solve",
"llbBridge.loadResult",
"loadSourcePolicy"
]
},
{
"path": "github.com/moby/buildkit/sourcepolicy",
"symbols": [
"match"
]
},
{
"path": "github.com/moby/buildkit/control",
"symbols": [
"Controller.Solve"
]
},
{
"path": "github.com/moby/buildkit/frontend/gateway/client",
"symbols": [
"AttestationFromPB"
]
},
{
"path": "github.com/moby/buildkit/frontend/gateway",
"symbols": [
"llbBridgeForwarder.Solve",
"llbBridgeForwarder.Warn"
]
},
{
"path": "github.com/moby/buildkit/util/tracing/transform",
"symbols": [
"Attributes",
"Spans",
"arrayValues",
"boolArray",
"doubleArray",
"intArray",
"links",
"spanEvents",
"statusCode",
"stringArray"
]
},
{
"path": "github.com/moby/buildkit/exporter/containerimage/exptypes",
"symbols": [
"ParsePlatforms"
]
},
{
"path": "github.com/moby/buildkit/exporter/containerimage",
"symbols": [
"patchImageConfig"
]
}
]
}