CVE-2020-28366: Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
Vulnerability summary
CVE-2020-28366 is a high (CVSS 7.5) Improper Control of Generation of Code vulnerability in fedoraproject fedora. EPSS estimates a 2.34% chance of exploitation in the next 30 days, higher than 83.6% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 18-11-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.34%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.34% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu6 products
- golang-1.10All versions (No fix recorded)
- golang-1.13All versions (No fix recorded)
- golang-1.14All versions (No fix recorded)
- golang-1.6All versions (No fix recorded)
- golang-1.8All versions (No fix recorded)
Netapp2 products
Alpine1 product
- go≥ 1.15, < 1.15.5-r0
Debian1 product
- golang-1.15< 1.15.5-1
Fedoraproject1 product
- fedoraEOL32 | 33
Go1 product
- toolchain≥ 1.15.0-0, < 1.15.5
Golang1 product
- go< 1.14.12 | ≥ 1.15, < 1.15.5
8 vendors · 15 products
References
11 links- go.dev/issue/42559REPORT