{"id":"CVE-2024-24787","sourceIdentifier":"security@golang.org","published":"2024-05-08T16:15:08.183","lastModified":"2026-06-17T07:14:51.640","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En Darwin, crear un módulo Go que contenga CGO puede desencadenar la ejecución de código arbitrario cuando se usa la versión Apple de ld, debido al uso del indicador -lto_library en una directiva \"#cgo LDFLAGS\"."}],"affected":[{"source":"security@golang.org","affectedData":[{"vendor":"Go toolchain","product":"cmd/go","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"cmd/go","platforms":["darwin"],"versions":[{"version":"0","lessThan":"1.21.10","versionType":"semver","status":"affected"},{"version":"1.22.0-0","lessThan":"1.22.3","versionType":"semver","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"golang","product":"go","defaultStatus":"affected","cpes":["cpe:2.3:a:golang:go:1.21.0:-:*:*:*:*:*:*"],"versions":[{"version":"1.21.0","status":"affected"},{"version":"1.22","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":0.5,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-06-05T14:49:29.014816Z","id":"CVE-2024-24787","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/05/08/3","source":"security@golang.org"},{"url":"https://go.dev/cl/583815","source":"security@golang.org"},{"url":"https://go.dev/issue/67119","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/wkkO4P9stm0","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2024-2825","source":"security@golang.org"},{"url":"https://security.netapp.com/advisory/ntap-20240531-0006/","source":"security@golang.org"},{"url":"http://www.openwall.com/lists/oss-security/2024/05/08/3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.dev/cl/583815","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://go.dev/issue/67119","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/golang-announce/c/wkkO4P9stm0","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pkg.go.dev/vuln/GO-2024-2825","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20240531-0006/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}