CVE-2024-24787
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-24787.html
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-24787
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | toolchain | >=1.22.0-0,<1.22.3 | 1.21.10 |
References
Verify integrity in audit chain (admin only). AS-IS.