SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2023-39323

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.

HIGH 8.1EPSS 1.76%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.76%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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 3.1
8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.76% probability · 77th percentile
CISA KEV
Not listed
Affected
golang/go · fedoraproject/fedora
Source
security@golang.org

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.