{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-22867","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","state":"PUBLISHED","assignerShortName":"Go","dateReserved":"2025-01-08T19:11:42.834Z","datePublished":"2025-02-06T17:09:56.893Z","dateUpdated":"2025-02-06T21:23:25.105Z"},"containers":{"cna":{"providerMetadata":{"orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go","dateUpdated":"2025-02-06T17:09:56.893Z"},"title":"Arbitrary code execution during build on darwin in cmd/go","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go toolchain","product":"cmd/go","collectionURL":"https://pkg.go.dev","packageName":"cmd/go","versions":[{"version":"1.24.0-rc.2","lessThan":"1.24.0-rc.3","status":"affected","versionType":"semver"}],"platforms":["darwin"],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"}]}],"references":[{"url":"https://go.dev/cl/646996"},{"url":"https://go.dev/issue/71476"},{"url":"https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y"},{"url":"https://pkg.go.dev/vuln/GO-2025-3428"}],"credits":[{"lang":"en","value":"Juho Forsén of Mattermost"}]},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-02-06T20:06:49.179700Z","id":"CVE-2025-22867","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-06T21:23:25.105Z"}}]}}