CVE-2020-28367
High
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 malicious gcc flags specified via a #cgo directive.
SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedNov 18, 2020
First seenNov 18, 2020
Weakness typeCWE-94Code injection
How to fix
Update
- golang go1.14.12, 1.15.5 or later
- toolchain1.14.12, 1.15.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.14.12, 1.15 ≤ v < 1.15.5 | 1.14.12, 1.15.5 |
| toolchainGo | v < 1.14.12, 1.15.0-0 ≤ v < 1.15.5 | 1.14.12, 1.15.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.