CVE-2020-28367

Arbitrary code execution via the go command with cgo in cmd/go

State
Published
Severity
Not scored
Published
Nov 18, 2020
Updated
Aug 4, 2024
Reserved
Nov 9, 2020

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
cmd/goGo toolchain
  • before 1.14.12Affected
  • 1.15.0-0 to before 1.15.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.