← Back to browse · API

CVE-2023-29402

Severity
CRITICAL
CVSS
9.8
EPSS
0.01694
Risk score
39.79
CISA KEV
No
PoC
No
Published
2023-06-08
Modified
2025-02-13
First seen
2026-08-07
Aliases
EUVD-2023-32973, GHSA-F2CJ-5636-4J38
Products
Go toolchain:cmd/go 0 <1.19.10, Go toolchain:cmd/go 1.20.0-0 <1.20.5
Sources
euvd EUVD-2023-32973

Description

The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).

References