{"id":"CVE-2020-28367","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-28367","generatedAt":"2026-10-27T23:36:37.532Z","title":"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 malicious gcc flags specified via a #cgo directive.","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 malicious gcc flags specified via a #cgo directive.","published":"2020-11-18T17:15:12.000Z","lastModified":"2026-06-17T03:10:20.000Z","status":"Modified","sourceIdentifier":"security@golang.org","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":["golang/go"],"epss":{"score":0.02405,"percentile":0.83947,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.40%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://go.dev/cl/267277","source":"security@golang.org"},{"url":"https://go.dev/issue/42556","source":"security@golang.org"},{"url":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","source":"security@golang.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2022-0476","source":"security@golang.org"},{"url":"https://go.dev/cl/267277","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.dev/issue/42556","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pkg.go.dev/vuln/GO-2022-0476","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28367","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}