{"cve":"CVE-2020-28367","nvd":{"published":"2020-11-18T17:15:12.057","modified":"2026-06-17T03:10:20.353","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-94"],"references":["https://go.dev/cl/267277","https://go.dev/issue/42556","https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html"],"products":["golang:go"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-28367","score":0.02405,"percentile":0.84066,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GO-2022-0476","url":"https://osv.dev/vulnerability/GO-2022-0476","summary":"Arbitrary code execution via the go command with cgo in cmd/go","modified":"2024-05-20T16:03:47Z","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"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}