BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-29405 in Fedoraproject Fedora and 7 more products

Critical 9.8 Industrial / OT

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.

Affects 8 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS1.7%
EPSS percentile78th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 38
Golang Go < 1.19.10 ≥ 1.20.0, < 1.20.5
Siemens SCALANCE XCM328 < 2.4
Siemens SCALANCE XCM332 < 2.4
Siemens SCALANCE XCH328 < 2.4
Siemens SCALANCE XRM334 < 2.4
Siemens SCALANCE XRH334 < 2.4
Siemens SCALANCE XCM324 < 2.4

Fix and vendor advisory

  • SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version

Source: ICSA-24-046-11

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2023-29405
BreachSpider IDBS-2023-GLOBAL-350422-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-06-08
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all build commands and flags. Use a secure build environment that isolates untrusted code from the main system.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.