{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-24787","published":"2024-05-08T16:15:08.183000Z","last_modified":"2026-06-17T07:14:51.640000Z","status":"Deferred","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["go-toolchain"],"products":["go-toolchain/cmd-go"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00508,"percentile":0.36633,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2024-2825","ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":[{"introduced":"0","fixed":"1.21.10"},{"introduced":"1.22.0-0","fixed":"1.22.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2024-24787/","html_en":"/en/cve/CVE-2024-24787/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-24787","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-24787"},"untrusted":{"vendor_name":"Go toolchain","product_name":"cmd/go","desc_en":"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":[{"untrusted_vendor":"Go toolchain","untrusted_product":"cmd/go","versions":[]},{"untrusted_vendor":"golang","untrusted_product":"go","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/05/08/3","tags":[]},{"url":"https://go.dev/cl/583815","tags":[]},{"url":"https://go.dev/issue/67119","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/wkkO4P9stm0","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2825","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240531-0006/","tags":[]}]}}