CVE-2024-24787
Arbitrary code execution during build on Darwin in cmd/go
6.4
MEDIUM
CVSS 3.1
EPSS 0.76%
描述
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 -lto_library flag in a "#cgo LDFLAGS" directive.
如何修補 CVE-2024-24787
要修補 CVE-2024-24787,請將受影響套件升級到下列已修補版本。
- Bitnami/golang—升級至 1.21.10 或更新版本
- —升級至 1.21.10 或更新版本
CVE-2024-24787 正在被利用嗎?
低 — EPSS 為 0.8%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 1.21.10, >= 1.22.0-0, < 1.22.3
- from 0, < 1.21.10, >= 1.22.0-0, < 1.22.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |