Lucene search

K
osvGoogleOSV:BIT-GOLANG-2024-24787
HistoryMay 14, 2024 - 7:18 a.m.

BIT-golang-2024-24787

2024-05-1407:18:33
Google
osv.dev
4
go
darwin
cgo
arbitrary code execution
apple ld
-lto_library flag

7.6 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%

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.

CPENameOperatorVersion
golanglt1.21.10
golangge1.22.0-0
golanglt1.22.3

7.6 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%