BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-29404 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. 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.

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

CVSS 3.19.8
EPSS1.8%
EPSS percentile80th

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-29404
BreachSpider IDBS-2023-GLOBAL-350421-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 any build scripts or modules that use cgo. Ensure that only trusted sources are used for Go modules and that build processes are isolated from critical systems.

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.