Skip to content
Sign in
CVE-2023-294049.8CriticalCWE-94

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.

1.8%probability of exploitation in the next 30 days
79th percentile
050100

Higher than 79% of scored CVEs

9.8CriticalCVSS 3.1
LowCrit.

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.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
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

Updated AboutDevelopersSign in