{"schema_version":"1.7.3","id":"BIT-golang-2020-28366","published":"2024-03-06T11:07:42.467Z","modified":"2025-05-20T10:02:07.006Z","aliases":["CVE-2020-28366","GO-2022-0475"],"summary":"Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo","details":"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.","affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.14.12"},{"introduced":"1.15.0"},{"fixed":"1.15.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2020-28366.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}],"references":[{"type":"WEB","url":"https://go.dev/cl/269658"},{"type":"WEB","url":"https://go.dev/issue/42559"},{"type":"WEB","url":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0475"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28366"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}