CVE-2024-24787

6.4 MEDIUM
Published: May 08, 2024 Modified: April 15, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://go.dev/cl/583815
Source: security@golang.org
https://go.dev/issue/67119
Source: security@golang.org
https://pkg.go.dev/vuln/GO-2024-2825
Source: security@golang.org
http://www.openwall.com/lists/oss-security/2024/05/08/3
Source: af854a3a-2127-422b-91ae-364da2661108
https://go.dev/cl/583815
Source: af854a3a-2127-422b-91ae-364da2661108
https://go.dev/issue/67119
Source: af854a3a-2127-422b-91ae-364da2661108
https://groups.google.com/g/golang-announce/c/wkkO4P9stm0
Source: af854a3a-2127-422b-91ae-364da2661108
https://pkg.go.dev/vuln/GO-2024-2825
Source: af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20240531-0006/
Source: af854a3a-2127-422b-91ae-364da2661108

12 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.4 / 10.0
EPSS (Exploit Probability)
2.7%
86th percentile
Exploitation Status
Not in CISA KEV