← back
CVE-2023-29402

Code injection via go command with cgo in cmd/go

CVSS 9.8 CRITICALEPSS 1.7%
Vexday Risk Score
28Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 9.8EPSS 1.7%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
08 Jun 2023Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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).
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Go toolchain · cmd/go

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →