RCE in Golang Go
CVE-2020-28367
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.024, 84.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Toolchain Cmd/go — versions 0, 1.15.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, henriquebesing/container-security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.