Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file.
[
{
"vendor": "Go toolchain",
"product": "cmd/go",
"collectionURL": "https://pkg.go.dev",
"packageName": "cmd/go",
"versions": [
{
"version": "0",
"lessThan": "1.14.12",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.15.0-0",
"lessThan": "1.15.5",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "Builder.cgo"
}
],
"defaultStatus": "unaffected"
},
{
"vendor": "Go toolchain",
"product": "cmd/cgo",
"collectionURL": "https://pkg.go.dev",
"packageName": "cmd/cgo",
"versions": [
{
"version": "0",
"lessThan": "1.14.12",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.15.0-0",
"lessThan": "1.15.5",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "dynimport"
}
],
"defaultStatus": "unaffected"
}
]