CVE-2020-28366GO-2022-0475BIT-GOLANG-2020-28366
Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.14.12, 1.15.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- cmd/go
fixed in 1.14.12; From 1.15.0-0 · fixed in 1.15.5
- cmd/cgo
fixed in 1.14.12; From 1.15.0-0 · fixed in 1.15.5
- toolchainGo
fixed in 1.14.12; From 1.15.0-0 · fixed in 1.15.5