CVE-2025-22867
Arbitrary code execution during build on darwin in cmd/go
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Attend
*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 @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go1.24rc2.
*Credits:
Juho Forsén of 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:Attend
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2025-01-08 CVE Reserved
- 2025-02-06 CVE Published
- 2025-02-06 CVE Updated
- 2025-02-07 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://go.dev/cl/646996 | ||
https://go.dev/issue/71476 | ||
https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y | ||
https://pkg.go.dev/vuln/GO-2025-3428 |
URL | Date | SRC |
---|
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.24.0-rc.2 < 1.24.0-rc.3 Search vendor "Go Toolchain" for product "Cmd/go" and version " >= 1.24.0-rc.2 < 1.24.0-rc.3" | en |
Affected
|