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.
Metrics
Affected Vendors & Products
References
History
Fri, 07 Feb 2025 14:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-94 | |
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Thu, 06 Feb 2025 22:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
Thu, 06 Feb 2025 17:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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 @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go1.24rc2. | |
Title | Arbitrary code execution during build on darwin in cmd/go | |
References |
|

Status: PUBLISHED
Assigner: Go
Published:
Updated: 2025-02-06T21:23:25.105Z
Reserved: 2025-01-08T19:11:42.834Z
Link: CVE-2025-22867

Updated: 2025-02-06T20:06:42.113Z

Status : Received
Published: 2025-02-06T18:15:32.543
Modified: 2025-02-06T22:15:40.393
Link: CVE-2025-22867
