cve.bz

CVE-2024-24787

6.4 mediumEPSS 0.8%

Medium (6.4). EPSS 0.8% chance of exploitation in the next 30 days. Fixed in toolchain 1.21.10, 1.22.3.

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.

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% chance of exploitation in the next 30 days; higher than 55% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2825Gotoolchain<1.21.10
>=1.22.0-0 <1.22.3
1.21.10, 1.22.3

References

Check your stackJSON