Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go toolchain / cmd/go | affected 0 before 1.21.10; affected 1.22.0-0 before 1.22.3 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/67119
- https://go.dev/cl/583815
- https://groups.google.com/g/golang-announce/c/wkkO4P9stm0
- https://pkg.go.dev/vuln/GO-2024-2825
- https://security.netapp.com/advisory/ntap-20240531-0006/
- http://www.openwall.com/lists/oss-security/2024/05/08/3
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.