CVE-2020-28367

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

Published Nov 18, 2020 CVSS 3.1 · 7.5 High EPSS 2.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2460-1 golang-1.8 security update
Debian DLA Debian DLA DLA-3395-1 golang-1.11 security update
EUVD EUVD EUVD-2020-20826 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Aug 4, 2024, 4:33 PM
Reserved
Nov 9, 2020, 12:00 AM
Status
Modified
Published
Nov 18, 2020, 5:15 PM
Modified
Jun 17, 2026, 3:10 AM
Severity
Moderate
Public date
Nov 12, 2020, 12:00 AM