On Darwin, building a Go module which contains CGO can...
Moderate severity
Unreviewed
Published
May 8, 2024
to the GitHub Advisory Database
•
Updated Jul 3, 2024
Description
Published by the National Vulnerability Database
May 8, 2024
Published to the GitHub Advisory Database
May 8, 2024
Last updated
Jul 3, 2024
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.
References