CVEvulnerability

CVE-2020-28367

7.5 HIGH Published 2020-11-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-11-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
Weaknesses
CWE-94

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 configurations

• golang go (< 1.14.12) • golang go (>= 1.15 < 1.15.5)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References