CVE-2025-22867
Arbitrary code execution during build on darwin in cmd/go
7.5
HIGH
CVSS 3.1
EPSS 0.63%
描述
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.
如何修補 CVE-2025-22867
要修補 CVE-2025-22867,請將受影響套件升級到下列已修補版本。
- —升級至 1.24.0-rc.3 或更新版本
- —升級至 1.24.0-rc.3 或更新版本
CVE-2025-22867 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 1.24.0-rc.2, < 1.24.0-rc.3
- >= 1.24.0-rc.2, < 1.24.0-rc.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |