HomeGolangCVE-2023-39323

CVE-2023-39323

HIGH
8.1CVSS
Published: 2023-10-05
Updated: 2025-06-12
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
network
Complexity
high
Privileges
none
User Action
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high
Weaknesses
NVD-CWE-noinfo

Metadata

Primary Vendor
GOLANG
Published
10/5/2023
Last Modified
6/12/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

golang : gogolang : gofedoraproject : fedorafedoraproject : fedorafedoraproject : fedora

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2023-39323 | HIGH Severity | CVEDatabase.com | CVEDatabase.com