cveboard RSS feed

CVE-2023-29405

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2023
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

cmd/go

Vendor
Go toolchain
Product
cmd/go
Platforms
Unknown
Default status
unaffected
Package
cmd/go
Package collection
https://pkg.go.dev
cmd/go · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedsemver1.19.10UnavailableNone listed
1.20.0-0affectedsemver1.20.5UnavailableNone listed

cmd/cgo

Vendor
Go toolchain
Product
cmd/cgo
Platforms
Unknown
Default status
unaffected
Package
cmd/cgo
Package collection
https://pkg.go.dev
cmd/cgo · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedsemver1.19.10UnavailableNone listed
1.20.0-0affectedsemver1.20.5UnavailableNone listed