CVE-2020-28367

HIGH7.5EPSS 0.27%

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

Published: 7/28/2022Modified: 4/28/2026

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.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

References (8)