CVE-2024-24787
Arbitrary code execution during build on Darwin in cmd/go
Severity Score
6.4
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track*
*SSVC
Descriptions
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.
En Darwin, crear un módulo Go que contenga CGO puede desencadenar la ejecución de código arbitrario cuando se usa la versión Apple de ld, debido al uso del indicador -lto_library en una directiva "#cgo LDFLAGS".
*Credits:
Juho Forsén (Mattermost)
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2024-01-30 CVE Reserved
- 2024-05-08 CVE Published
- 2024-05-10 First Exploit
- 2024-06-11 EPSS Updated
- 2025-02-13 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
CAPEC
References (7)
URL | Date | SRC |
---|---|---|
https://github.com/LOURC0D3/CVE-2024-24787-PoC | 2024-05-10 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Go Toolchain Search vendor "Go Toolchain" | Cmd/go Search vendor "Go Toolchain" for product "Cmd/go" | < 1.21.10 Search vendor "Go Toolchain" for product "Cmd/go" and version " < 1.21.10" | en |
Affected
| ||||||
Go Toolchain Search vendor "Go Toolchain" | Cmd/go Search vendor "Go Toolchain" for product "Cmd/go" | >= 1.22.0-0 < 1.22.3 Search vendor "Go Toolchain" for product "Cmd/go" and version " >= 1.22.0-0 < 1.22.3" | en |
Affected
|