Name | CVE-2024-24787 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
The information below is based on the following data on fixed versions.
Notes
- golang-1.22 <not-affected> (Specific to MacOS)
- golang-1.21 <not-affected> (Specific to MacOS)
- golang-1.19 <not-affected> (Specific to MacOS)
- golang-1.15 <not-affected> (Specific to MacOS)
- golang-1.11 <not-affected> (Specific to MacOS)
https://groups.google.com/g/golang-announce/c/wkkO4P9stm0
https://github.com/golang/go/issues/67119