What’s Vulnerable › Vulnerabilities
CVE-2020-28366: Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-11-18 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- Fedoraproject Fedora: 32, 33
- Go: before 1.14.12; from 1.15 before 1.15.5 — fixed in 1.14.12, 1.15.5
- NetApp Cloud Insights Telegraf Agent: all versions
- NetApp Trident: all versions
How to fix
Upgrade to a fixed version: Go 1.14.12, 1.15.5. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/269658
- https://go.dev/issue/42559
- https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
- https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
- https://pkg.go.dev/vuln/GO-2022-0475
- https://go.dev/cl/269658
- https://go.dev/issue/42559
- https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
- https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
- https://pkg.go.dev/vuln/GO-2022-0475
Get alerted when CVE-2020-28366 or the next vulnerability affects your stack