Description
On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the -lto_library flag in a "#cgo LDFLAGS" directive.
Exploits (1)
References (6)
Scores
CVSS v3
6.4
EPSS
0.0271
EPSS Percentile
86.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
Status
published
Products (2)
Go toolchain/cmd/go
< 1.21.10
Go toolchain/cmd/go
1.22.0-0 - 1.22.3
Published
May 08, 2024
Tracked Since
Feb 18, 2026