CVE-2023-29404

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

History

25 Nov 2023, 11:15

Type Values Removed Values Added
References
  • () https://security.gentoo.org/glsa/202311-09 -

11 Aug 2023, 03:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NZ2O6YCO2IZMZJELQGZYR2WAUNEDLYV6/ -

02 Aug 2023, 16:43

Type Values Removed Values Added
CPE cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
First Time Fedoraproject fedora
Fedoraproject
References (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/ - (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/ - Mailing List

21 Jul 2023, 04:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/ -

16 Jun 2023, 12:54

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References (MISC) https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ - (MISC) https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ - Mailing List, Release Notes
References (MISC) https://go.dev/issue/60305 - (MISC) https://go.dev/issue/60305 - Issue Tracking
References (MISC) https://go.dev/cl/501225 - (MISC) https://go.dev/cl/501225 - Patch
References (MISC) https://pkg.go.dev/vuln/GO-2023-1841 - (MISC) https://pkg.go.dev/vuln/GO-2023-1841 - Vendor Advisory
CWE CWE-94
First Time Golang
Golang go
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

08 Jun 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-06-08 21:15

Updated : 2024-02-28 20:13


NVD link : CVE-2023-29404

Mitre link : CVE-2023-29404

CVE.ORG link : CVE-2023-29404


JSON object : View

Products Affected

fedoraproject

  • fedora

golang

  • go
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')