CVE-2023-29405: Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
Go toolchain · cmd/go
Vendor fix available · Affected: Go toolchain cmd/go · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 77% of scored CVEs
DescriptionCVE.org
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.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Go toolchain · cmd/gobefore 1.19.10; from 1.20.0-0 before 1.20.5
- Go toolchain · cmd/cgobefore 1.19.10; from 1.20.0-0 before 1.20.5
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Go toolchain
- Published
- June 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2023-29405 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-88cwe.mitre.org
- go.dev/issue/60306go.dev
- go.dev/cl/501224go.dev
- groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJgroups.google.com
- pkg.go.dev/vuln/GO-2023-1842pkg.go.dev
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- security.gentoo.org/glsa/202311-09security.gentoo.org
- security.netapp.com/advisory/ntap-20241206-0003security.netapp.com