Arbitrary code execution via the go command with cgo in cmd/go
CVE-2020-28367

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
18 November 2020

What is 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.

Affected Version(s)

cmd/go 0 < 1.14.12

cmd/go 1.15.0-0 < 1.15.5

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Imre Rad
.