Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2020-28366

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

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 a malicious unquoted symbol name in a linked object file.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go toolchain cmd/go

Default version status: unaffected

  • 0 to < 1.14.12affected
  • 1.15.0-0 to < 1.15.5affected

Go toolchain cmd/cgo

Default version status: unaffected

  • 0 to < 1.14.12affected
  • 1.15.0-0 to < 1.15.5affected

References