Skip to main content
VulnerabilityPublished Updated

CVE-2024-32021: git · Use of Hard-coded, Security-relevant Constants

Affects gitSource GCVE Database

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 3.9 Low · fixed in 2.43.4 : update git when convenient.

Data as of 31 Oct 2026, 01:22 UTC

CVSS 3.1 base score
3.9Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.9
Patch
Available – fixed in 2.43.4, 2.42.2, 2.40.2 +1
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade git to 2.43.4, 2.42.2, 2.40.2 or 2.39.4.

Affected software

ProductAffectedFixed in
git gitAffected
  • =2.45.0
  • =2.44.0
  • >=2.43.0 <2.43.4
  • >=2.42.0 <2.42.2
  • =2.41.0
  • >=2.40.0 <2.40.2
  • <2.39.4
Fixed in
  • 2.43.4
  • 2.42.2
  • 2.40.2
  • 2.39.4

AI-suggested

Upgrade Git to one of the fixed versions: 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, or 2.39.4. These versions contain patches that address the race condition and prevent creation of hardlinks to arbitrary files during local cloning. No other mitigation is indicated by the vendor advisory.

Description

A vulnerability in Git prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4 allows an attacker to create hardlinks to arbitrary user-readable files on the same filesystem when cloning a local repository containing symlinks. This occurs due to a race condition in the checks against symbolic links during the hard link operation in local cloning optimizations.

References

Community reviews

Loading reviews…