MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-24787WID-SEC-W-2024-1071:CVE-2024-24787

Arbitrary code execution during build on Darwin in cmd/go

Not on CISA KEV
  • Overview

Summary

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub