Skip to main content
Network Thinking Solutions Logo

CVE-2024-32020

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.

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

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.

Vendor advisory
CVSS3.9Low

Overview

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.

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
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.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, < 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

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: 3.9. 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.