GO-2022-0475

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

En bref

Publiée
Mise à jour
CVE
CVE-2020-28366
Alias
BIT-golang-2020-28366

Description

The go command may execute arbitrary code at build time when cgo is in use. This may occur when running go get on a malicious package, or any other command that builds untrusted code. This can be caused by malicious unquoted symbol name in a linked object file.

Paquets affectés

PaquetVersions
Go · toolchainintroduced 0, fixed 1.14.12, introduced 1.15.0-0, fixed 1.15.5

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database