BreachSpiderVerified, not vibes

CVE-2023-39323 in Fedoraproject Fedora and 1 more product

High 8.1

Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in whic...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.1
EPSS1.9%
EPSS percentile80th
FixSee advisory

Remotely exploitable over the network, high 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 37 38 39
Golang Go < 1.20.9 ≥ 1.21.0, < 1.21.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

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

Official description

Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-39323
BreachSpider IDBS-2023-GLOBAL-007090-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-10-05
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

CVE-2023-39323 allows bypassing restrictions on "//go:cgo_" directives using "//line" directives, enabling the use of blocked linker and compiler flags during Go compilation, which can lead to arbitrary code execution.

An attacker can exploit this vulnerability by inserting "//line" directives with the absolute path of the file to bypass restrictions on "//go:cgo_" directives, potentially allowing the inclusion of malicious linker and compiler flags during the build process.

Questions

What is CVE-2023-39323?

CVE-2023-39323 allows bypassing restrictions on "//go:cgo_" directives using "//line" directives, enabling the use of blocked linker and compiler flags during Go compilation, which can lead to arbitrary code execution.

What is the CVSS score for CVE-2023-39323?

CVE-2023-39323 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.9%.

Is CVE-2023-39323 actively exploited?

No confirmed active exploitation of CVE-2023-39323 as of 2026-09-25.

How do I remediate CVE-2023-39323?

Priority: HIGH. Advisory: https://lists.fedoraproject.org/archives/list/[email protected]/message/CLB4TW7KALB3EEQWNWCN7OUIWWVWWCG2/ PSIRT: [email protected]

What systems are affected by CVE-2023-39323?

CVE-2023-39323 affects Fedoraproject Fedora; Golang Go.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

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