CVE-2023-29404: Improper handling of non-optional LDFLAGS 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 79% 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. 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.
Affected products1
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
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-29404 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-94cwe.mitre.org
- go.dev/issue/60305go.dev
- go.dev/cl/501225go.dev
- groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJgroups.google.com
- pkg.go.dev/vuln/GO-2023-1841pkg.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-20241115-0009security.netapp.com