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.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
golang-1.11 | source | (unstable) | (not affected) | | | |
golang-1.15 | source | (unstable) | (not affected) | | | |
golang-1.19 | source | (unstable) | (not affected) | | | |
golang-1.21 | unknown | (unstable) | (not affected) | | | |
golang-1.22 | source | (unstable) | (not affected) | | | |
golang-1.7 | source | (unstable) | (not affected) | | | |
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
- golang-1.7 <not-affected> (Specific to MacOS)