{"cve":{"cve_id":"CVE-2024-24787","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.00766,"epss_percentile":0.52831,"epss_as_of":"2026-08-26","description":"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.","published_at":"2024-05-08T15:31:14.530000Z","last_modified_at":null,"cvss_v3_score":6.4,"cvss_v3_vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"MEDIUM","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":false,"ssvc_technical_impact":"total","cwes":null,"nvd_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"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-29T01:53:22.351451Z"},"effective_severity":"MEDIUM","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"H","value_label":"High"},{"metric":"PR","name":"Privileges Required","value":"H","value_label":"High"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"go-toolchain","vendor_name":"Go toolchain","product_slug":"cmd-go","product_name":"cmd/go","version_start":"0","version_start_inclusive":true,"version_end":"1.21.10","version_end_inclusive":false,"cpe23_uri":"cve5:go-toolchain:cmd-go:0:1.21.10"},{"vendor_slug":"go-toolchain","vendor_name":"Go toolchain","product_slug":"cmd-go","product_name":"cmd/go","version_start":"1.22.0-0","version_start_inclusive":true,"version_end":"1.22.3","version_end_inclusive":false,"cpe23_uri":"cve5:go-toolchain:cmd-go:1.22.0-0:1.22.3"}],"exploit_refs":[],"news":[],"references":[{"url":"https://go.dev/issue/67119","source_type":"MISC","tags":[]},{"url":"https://go.dev/cl/583815","source_type":"MISC","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/wkkO4P9stm0","source_type":"MISC","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2825","source_type":"MISC","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240531-0006/","source_type":"MISC","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/08/3","source_type":"MAILING_LIST","tags":["mailing-list"]}],"timeline":[{"type":"published","at":"2024-05-08T15:31:14.530000Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-28T17:34:21.408179Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:34:21.408179Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:34:21.408179Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"ssvc_changed","at":"2026-06-29T01:53:22.351451Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:53:22.351451Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:53:22.351451Z","label":"SSVC decision revised","source":"vulnrichment"}]}