Skip to main content
Network Thinking Solutions Logo

CVE-2024-32465

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.

All CVEs
CVE-2024-32465Published 5/14/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/14/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
git
git-scm
< 2.39.4

Verify advisory

Source
git
git-scm
≥ 2.40.0, < 2.40.2

Verify advisory

Source
git
git-scm
≥ 2.42.0, < 2.42.2

Verify advisory

Source
git
git-scm
≥ 2.43.0, < 2.43.4

Verify advisory

Source
git
git-scm
2.41.0

Verify advisory

Source
git
git-scm
2.44.0

Verify advisory

Source
git
git-scm
2.45.0

Verify advisory

Source
fedora
fedoraproject
40

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
git
git
= 2.45.0

Verify advisory

Source
git
git
= 2.44.0

Verify advisory

Source
git
git
>= 2.43.0, < 2.43.4

Verify advisory

Source
git
git
>= 2.42.0, < 2.42.2

Verify advisory

Source
git
git
= 2.41.0

Verify advisory

Source
git
git
>= 2.40.0, < 2.40.2

Verify advisory

Source
git
git
< 2.39.4

Verify advisory

Source
git
git
2.45.0

Verify advisory

Source
git
git
2.44.0

Verify advisory

Source
git
git
≥ 2.43.0, ≤ 2.43.4

Verify advisory

Source
git
git
≥ 2.42.0, ≤ 2.42.2

Verify advisory

Source
git
git
2.41.0

Verify advisory

Source
git
git
≥ 2.40.0, ≤ 2.40.2

Verify advisory

Source
git
git
≥ 2.39.4*, < 2.39.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.