VDB

DEBIAN-CVE-2023-29404

DEBIAN-CVE-2023-29404 PUBLISHED CVSS 9.800000190734863 CRITICAL

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

Risk Scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Debian:12golang-1.190, 1.19.10-1, 1.19.10-2
Debian:11golang-1.150, 1.15.15-1, 1.15.15-1

Exploit Intelligence

Timeline

  • Jun 8, 2023 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›