CVE-2024-32465: Git's protections for cloning untrusted repositories can be bypassed
Vulnerability summary
CVE-2024-32465 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities.
Not severe (CVSS 7.4, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 11Timeline
- 14-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA7.4HighCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.03%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- git< 1:2.39.5-0+deb12u1 | < 1:2.45.1-1
- debian_linuxEOL10.0 | 11.0
Alpine1 product
- git≥ 2.40.0, < 2.39.5-r0 | ≥ 2.40.0, < 2.43.4-r0 | ≥ 2.40.0, < 2.45.1-r0 | < 2.39.5-r0 | ≥ 2.40.0, < 2.40.3-r0 | ≥ 2.43.0, < 2.43.4-r0 | ≥ 2.43.0, < 2.45.1-r0
Chainguard1 product
- git< 2.45.1-r0
Fedoraproject1 product
- fedoraEOL40
Git1 product
- git= 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
Git-scm1 product
- gitEOL< 2.39.4 | ≥ 2.40.0, < 2.40.2 | ≥ 2.42.0, < 2.42.2 | ≥ 2.43.0, < 2.43.4 | 2.41.0 | 2.44.0 | 2.45.0
Ubuntu1 product
- git< 1:2.17.1-1ubuntu0.18+esm1 | < 1:2.25.1-1ubuntu3.12 | < 1:2.34.1-1ubuntu1.11 | < 1:2.43.0-1ubuntu7.1
Wolfi1 product
- git< 2.45.1-r0
8 vendors · 9 products
References
16 links- github.com/git/git/security/advisories/GHSA-vm9j-46j9-qvq4X Refsource CONFIRMREPORTAdvisoryVendor Advisory