{"id":"AZL-40428","summary":"CVE-2024-24787 affecting package msft-golang for versions less than 1.22.3","details":"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.","modified":"2026-04-21T04:29:02.383346Z","published":"2024-05-08T16:15:08Z","upstream":["CVE-2024-24787"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24787"}],"affected":[{"package":{"name":"msft-golang","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/msft-golang"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.3"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-40428.json"}}],"schema_version":"1.7.5"}