blob: 2165fd902781112884687e25ed2ae31932c46474 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0475",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-28T17:24:30Z",
"aliases": [
"CVE-2020-28366"
],
"summary": "Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo",
"details": "The go command may execute arbitrary code at build time when cgo is in use. This may occur when running go get on a malicious package, or any other command that builds untrusted code.\n\nThis can be caused by malicious unquoted symbol name in a linked object file.",
"affected": [
{
"package": {
"name": "toolchain",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.14.12"
},
{
"introduced": "1.15.0-0"
},
{
"fixed": "1.15.5"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "cmd/go",
"symbols": [
"Builder.cgo"
]
},
{
"path": "cmd/cgo",
"symbols": [
"dynimport"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/269658"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/42559"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM"
}
],
"credits": [
{
"name": "Chris Brown (Tempus Ex)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0475"
}
}