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.
References
Configurations
History
06 Jan 2025, 20:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
References | () https://go.dev/cl/501225 - Patch | |
References | () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NZ2O6YCO2IZMZJELQGZYR2WAUNEDLYV6/ - | |
References | () https://pkg.go.dev/vuln/GO-2023-1841 - Vendor Advisory | |
References | () https://go.dev/issue/60305 - Issue Tracking | |
References | () https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ - Mailing List, Release Notes | |
References | () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/ - Mailing List |
25 Nov 2023, 11:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
11 Aug 2023, 03:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
02 Aug 2023, 16:43
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/ - Mailing List | |
First Time |
Fedoraproject fedora
Fedoraproject |
|
CPE | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
21 Jul 2023, 04:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
16 Jun 2023, 12:54
Type | Values Removed | Values Added |
---|---|---|
First Time |
Golang go
Golang |
|
CWE | CWE-94 | |
References | (MISC) https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ - Mailing List, Release Notes | |
References | (MISC) https://go.dev/cl/501225 - Patch | |
References | (MISC) https://pkg.go.dev/vuln/GO-2023-1841 - Vendor Advisory | |
References | (MISC) https://go.dev/issue/60305 - Issue Tracking | |
CPE | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
08 Jun 2023, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-06-08 21:15
Updated : 2025-01-06 20:15
NVD link : CVE-2023-29404
Mitre link : CVE-2023-29404
JSON object : View
Products Affected
golang
- go
fedoraproject
- fedora
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')