CVE-2024-24787

MEDIUMCVSS 6.4/10EPSS 0.76%

Last modified

CVE-2024-24787 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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.. EPSS estimates a 0.76% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.4/10

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.76%

50.6th percentile

Probability of exploitation in the next 30 days. Learn more

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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.
How severe is CVE-2024-24787?
CVE-2024-24787 has a CVSS score of 6.4/10 (MEDIUM severity). The EPSS model estimates a 0.76% probability of exploitation in the next 30 days.
How do I fix CVE-2024-24787?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-24787?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST