Skip to content
Connect AISign inSign up free
CVE-2023-294059.8CriticalCWE-88

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.

1.7%probability of exploitation in the next 30 days
77th percentile
050100

Higher than 77% 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. 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.

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