CVE-2023-29405
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.
Published:Jun 8, 2023
Last Modified:Jan 6, 2025
EPS:Jun 8, 2023
EPSS Score:0.00326
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Golang
Product
Go
Golang
Go
Vendor
Redhat
Product
Ceph Storage
Redhat
Ceph Storage
Vendor
Redhat
Product
Devtools
Redhat
Devtools
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
