6.4

CVE-2024-24787: Arbitrary code execution during build on Darwin in cmd/go

Deferred
AliasesSUSE-SU-2024:1574-1SUSE-SU-2024:1588-1CGA-23g7-prvw-cmcv
Published 08-05-2024Last modified 13-02-2025

Vulnerability summary

CVE-2024-24787 is a medium (CVSS 6.4) vulnerability in go toolchain cmd/go. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.76%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 448
OPENSUSE-SU-2024:13936-1SUSE-SU-2024:1573-1SUSE-SU-2024:1587-1SUSE-SU-2024:3089-1SUSE-SU-2024:3755-1SUSE-SU-2024:3772-1

Showing 100 of 448.

Timeline

  1. 08-05-2024
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.76%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.77% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard200 products
  • aactl< 0.4.12-r12
  • actions-runner-controller-fips< 0.9.1-r1
  • actions-runner-controller-fips-compat< 0.9.1-r1
  • addon-resizer-fips< 1.8.21-r0
  • addon-resizer-fips-compat< 1.8.21-r0

1 vendor · 200 products · Showing 200 of 597

References

12 links
Show all 12 references