{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-28366","id":"CVE-2020-28366","title":"Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo","description":"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.","descriptionLong":"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.","published":"2020-11-18T00:00:00.000Z","updated":"2026-10-24T10:30:36.368954964Z","reserved":"2020-11-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Go toolchain cmd/go","Go toolchain cmd/cgo"],"affectedProducts":[{"vendor":"Go toolchain","product":"cmd/go","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.14.12","status":"affected","versionType":"semver"},{"version":"1.15.0-0","lessThan":"1.15.5","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Go toolchain","product":"cmd/cgo","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.14.12","status":"affected","versionType":"semver"},{"version":"1.15.0-0","lessThan":"1.15.5","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":["<1.14.12",">=1.15.0-0 <1.15.5"],"fixed":["1.14.12","1.15.5"],"advisory":"GO-2022-0475"}],"cwes":["CWE-94"],"aliases":["BIT-golang-2020-28366","GO-2022-0475"],"references":[{"url":"https://go.dev/cl/269658","tags":["x_transferred","web","fix"]},{"url":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292","tags":["x_transferred","web","fix"]},{"url":"https://go.dev/issue/42559","tags":["x_transferred","web","report"]},{"url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","tags":["x_transferred","web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0475","tags":["x_transferred","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02342,"epssPercentile":0.8396,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-28366","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28366","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-28366","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-28366","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}