
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2023-29405) affects the Go programming language's command functionality when using cgo. Discovered and disclosed in June 2023, this vulnerability allows arbitrary code execution at build time through improper sanitization of LDFLAGS. The issue specifically affects Go versions prior to 1.19.10 and versions from 1.20.0 up to (excluding) 1.20.5 (NVD, Go Advisory).
The vulnerability stems from mishandling of linker flags specified via '#cgo LDFLAGS' directive. Flags containing embedded spaces are incorrectly processed, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This vulnerability specifically affects the usage of the gccgo compiler. The severity is rated as CRITICAL with a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).
When successfully exploited, this vulnerability could lead to arbitrary code execution at build time. This can occur when running 'go get' on a malicious module or when executing any other command that builds untrusted code. The impact includes potential disclosure of sensitive information, addition or modification of data, and potential Denial of Service (DoS) (NetApp Advisory).
The vulnerability has been patched in Go versions 1.19.10 and 1.20.5. Users are advised to upgrade to these or later versions to mitigate the risk. For Go 1.19.x, upgrade to version 1.19.10 or later, and for Go 1.20.x, upgrade to version 1.20.5 or later (Go Announcement).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."