FKIE_CVE-2025-22867
Vulnerability from fkie_nvd - Published: 2025-02-06 18:15 - Updated: 2026-06-17 08:50
Severity
Summary
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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "cmd/go",
"platforms": [
"darwin"
],
"product": "cmd/go",
"vendor": "Go toolchain",
"versions": [
{
"lessThan": "1.24.0-rc.3",
"status": "affected",
"version": "1.24.0-rc.2",
"versionType": "semver"
}
]
}
],
"source": "security@golang.org"
}
],
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "En Darwin, la creaci\u00f3n de un m\u00f3dulo Go que contiene CGO puede desencadenar la ejecuci\u00f3n de c\u00f3digo arbitrario al utilizar la versi\u00f3n Apple de ld, debido al uso de los valores especiales @executable_path, @loader_path o @rpath en una directiva \"#cgo LDFLAGS\". Este problema solo afect\u00f3 a go1.24rc2."
}
],
"id": "CVE-2025-22867",
"lastModified": "2026-06-17T08:50:39.083",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-22867",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-02-06T20:06:49.179700Z",
"version": "2.0.3"
}
}
]
},
"published": "2025-02-06T18:15:32.543",
"references": [
{
"source": "security@golang.org",
"url": "https://go.dev/cl/646996"
},
{
"source": "security@golang.org",
"url": "https://go.dev/issue/71476"
},
{
"source": "security@golang.org",
"url": "https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y"
},
{
"source": "security@golang.org",
"url": "https://pkg.go.dev/vuln/GO-2025-3428"
}
],
"sourceIdentifier": "security@golang.org",
"vulnStatus": "Deferred"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…