BIT-golang-2024-24787

vendorUSosv

Arbitrary code execution during build on Darwin in cmd/go

view advisory published 2024-05-14Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2024-24787US—Exploit
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan