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
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 |
---|---|---|
CPE | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | |
References | (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 |
|
16 Jun 2023, 12:54
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
CWE | CWE-94 | |
References | (MISC) https://go.dev/issue/60305 - Issue Tracking | |
References | (MISC) https://go.dev/cl/501225 - Patch | |
References | (MISC) https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ - Mailing List, Release Notes | |
References | (MISC) https://pkg.go.dev/vuln/GO-2023-1841 - Vendor Advisory |
08 Jun 2023, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-06-08 21:15
Updated : 2024-02-04 23:37
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')