CVE-2020-28366Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Nov 18, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | toolchain |
< 1.14.12 |
1.14.12 |
go get toolchain@v1.14.12 |
| Go | toolchain |
≥ 1.15.0-0 < 1.15.5 |
1.15.5 |
go get toolchain@v1.15.5 |
Per OSV / GitHub Advisories (GO-2022-0475). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.14.12 |
| golang | go | ≥ 1.15 < 1.15.5 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| netapp | cloud_insights_telegraf_agent | all |
| netapp | trident | all |
Official sources
References
Links published by the sources. Open them with care.