| { |
| "schema_version": "1.3.1", |
| "id": "GO-2025-3428", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2025-22867" |
| ], |
| "summary": "Arbitrary code execution during build on darwin in cmd/go", |
| "details": "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.", |
| "affected": [ |
| { |
| "package": { |
| "name": "toolchain", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "1.24.0-rc.2" |
| }, |
| { |
| "fixed": "1.24.0-rc.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "cmd/go", |
| "goos": [ |
| "darwin" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/646996" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/71476" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Juho Forsén of Mattermost" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2025-3428", |
| "review_status": "REVIEWED" |
| } |
| } |