CVE-2020-28366

published 18 Nov 2020 · updated 4 Aug 2024

Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.14.12 and 1.15.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go toolchain<1.14.12, >=1.15.0-0 <1.15.51.14.12, 1.15.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-28366 severity on Zeptric[![CVE-2020-28366](https://zeptric.io/badge/cve/CVE-2020-28366.svg)](https://zeptric.io/cve/CVE-2020-28366)