7.5

CVE-2020-28366: Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo

Modified
AliasesUBUNTU-CVE-2020-28366DEBIAN-CVE-2020-28366GO-2022-0475
Published 18-11-2020Last modified 04-08-2024

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.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.34%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 7

Timeline

  1. 18-11-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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)
Go toolchain2 products
  • cmd/cgo< 1.14.12 | ≥ 1.15.0-0, < 1.15.5
  • cmd/go< 1.14.12 | ≥ 1.15.0-0, < 1.15.5
Netapp2 products
Alpine1 product
  • go≥ 1.15, < 1.15.5-r0
Debian1 product
  • golang-1.15< 1.15.5-1
Fedoraproject1 product
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
Show all 11 references