Arbitrary code execution during build on Darwin in cmd/go
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.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2024-24787US | — | Exploit | ||
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… | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- http://www.openwall.com/lists/oss-security/2024/05/08/3WEB
- https://go.dev/cl/583815WEB
- https://go.dev/issue/67119WEB
- https://groups.google.com/g/golang-announce/c/wkkO4P9stm0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-24787WEB
- https://pkg.go.dev/vuln/GO-2024-2825WEB
- https://security.netapp.com/advisory/ntap-20240531-0006/WEB
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan