Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
CVE-2020-28366

7.5HIGH

Key Information:

Vendor
CVE Published:
18 November 2020

What is CVE-2020-28366?

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 Version(s)

cmd/cgo 0 < 1.14.12

cmd/cgo 1.15.0-0 < 1.15.5

cmd/go 0 < 1.14.12

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

Chris Brown (Tempus Ex)
.