CVE-2024-32020 in Fedoraproject Fedora and 2 more products
Git is a revision control system. 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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then...
Affects 3 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 40 |
| Git | Git | 2.41.0 2.44.0 2.45.0 < 2.39.4 ≥ 2.40.0, < 2.40.2 ≥ 2.42.0, < 2.42.2+1 more≥ 2.43, < 2.43.4 |
| Git-Scm | Git | 2.41.0 2.44.0 2.45.0 < 2.39.4 ≥ 2.40.0, < 2.40.2 ≥ 2.42.0, < 2.42.2+1 more≥ 2.43.0, < 2.43.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Git is a revision control system. 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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-32020 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-191713-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| Published | 2024-05-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-281: CWE-281
Analysis AI-written, not human-reviewed
Git versions prior to 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4 are vulnerable to a local privilege escalation issue due to improper handling of hardlinks when cloning repositories.
An attacker with local access to the system can exploit this vulnerability by creating a malicious repository and tricking a user into cloning it. If the source and target repositories reside on the same disk, the cloning process may create hardlinks to files in the source repository. The attacker can then modify these files, potentially leading to unauthorized code execution or data corruption in the target repository.
Questions
What is CVE-2024-32020?
Git versions prior to 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4 are vulnerable to a local privilege escalation issue due to improper handling of hardlinks when cloning repositories.
What is the CVSS score for CVE-2024-32020?
CVE-2024-32020 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N. EPSS: 0.3%.
Is CVE-2024-32020 actively exploited?
No confirmed active exploitation of CVE-2024-32020 as of 2026-09-25.
How do I remediate CVE-2024-32020?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-32020?
CVE-2024-32020 affects Fedoraproject Fedora; Git Git; Git-Scm Git.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.