CVE-2024-32020

Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will

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.


We have discovered 315 live websites that are affected by CVE-2024-32020.

Run a Free Instant Scan




Affected Software

Product  git
Category Dev Tools
Vulnerable Domains315 live websites (52% of git install base)
Vulnerable Versions
  • from 0 through 2.39.4
Vulnerable Versions Count20 versions ( 53% of all versions)


Common Weakness Enumeration

CWE-281 Improper Preservation of Permissions



Details

  • Published - May 14, 2024
  • Updated - Feb 13, 2025

Website Distribution by Country

Number of websites using CVE-2024-32020
United States93 websites



Germany73 websites
France42 websites
Singapore26 websites
GB14 websites
Switzerland8 websites
Netherlands8 websites
Australia5 websites
Denmark5 websites
Sweden5 websites

Website Distribution by TLD

Number of websites using CVE-2024-32020
.org113 websites
.com48 websites
.net44 websites
.de20 websites
.fr6 websites
.at4 websites
.io4 websites
.ch4 websites
.nl4 websites
.eu4 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2024-32020

Top websites that are affected by CVE-2024-32020. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
****.***********.org United States**,***
****.**.cz Germany**,***
***.********.org France**,***
****.**.io Finland***,***
***.********.org United States***,***
***.*****.org Germany***,***
*******.org France***,***
***.*****.com United States***,***
***.*******.org United States***,***
***.*******.net United States***,***
See full domain list

FAQ

CVE-2024-32020 is Improper Preservation of Permissions in git
A total of 315 websites have been identified as vulnerable to CVE-2024-32020, based on global website indexing conducted by WebTechSurvey.
The git is affected by the CVE-2024-32020 vulnerability.
git versions up to 2.39.4 are vulnerable to CVE-2024-32020.
CVE-2024-32020 is resolved in version 2.39.4 of git.