CVE-2024-24787
MEDIUM6.4EPSS 3.2%Arbitrary code execution during build on Darwin in cmd/go
發布日:2024/5/8修改日:2026/2/4
描述
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.
受影響套件(2)
- Bitnami/golangfrom 0, < 1.21.10, >= 1.22.0-0, < 1.22.3
- Go/toolchainfrom 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 |
參考連結(7)
- PATCHhttps://go.dev/cl/583815
- REPORThttps://go.dev/issue/67119
- WEBhttps://groups.google.com/g/golang-announce/c/wkkO4P9stm0
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-24787
- WEBhttps://pkg.go.dev/vuln/GO-2024-2825
- WEBhttps://security.netapp.com/advisory/ntap-20240531-0006/
- WEBhttp://www.openwall.com/lists/oss-security/2024/05/08/3