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.
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, 13:15

Type Values Removed Values Added
References (MISC) https://go.dev/issue/60306 - (MISC) https://go.dev/issue/60306 - Issue Tracking
References (MISC) https://pkg.go.dev/vuln/GO-2023-1842 - (MISC) https://pkg.go.dev/vuln/GO-2023-1842 - Vendor Advisory
References (MISC) https://go.dev/cl/501224 - (MISC) https://go.dev/cl/501224 - Patch
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, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Golang
Golang go
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
CWE CWE-74

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-29405

Mitre link : CVE-2023-29405

CVE.ORG link : CVE-2023-29405


JSON object : View

Products Affected

fedoraproject

  • fedora

golang

  • go
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')