Vulnerability in Go Toolchain Cmd/go
CVE-2024-24787
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (53.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Go Toolchain Cmd/go — versions 0, 1.22.0-0
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-24787?
- CVE-2024-24787 is a medium-severity vulnerability in Go Toolchain Cmd/go. CVSS score: 6.4/10. Published 2024-05-08.
- How severe is CVE-2024-24787?
- Medium severity. CVSS v3 base score is 6.4 out of 10.
- Is CVE-2024-24787 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.