Gitforwindows Git vulnerabilities

4 vulnerabilities

Known vulnerabilities in Gitforwindows Git, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

PrioritiseCVE-2025-66413git-for-windows · git +1 moreGit for Windows leaks NTLM hash when cloning from an attacker-controlled serverGit for Windows is the Windows port of Git. Prior to 2.53.0(2), it is possible to obtain a user's NTLM hash by tricking them into cloning from a malicious server. Since NTLM hashing is weak, it is possible for the attacker to brute-force the user's account name and password. This vulnerability is fixed in 2.53.0(2).CVSS7.4HighEPSS0.33%RoutineCVE-2022-31012git-for-windows · git +1 moreGit for Windows' installer can be tricked into executing an untrusted binaryGit for Windows is a fork of Git that contains Windows-specific patches. This vulnerability in versions prior to 2.37.1 lets Git for Windows' installer execute a binary into `C:\mingw64\bin\git.exe` by mistake. This only happens upon a fresh install, not when upgrading Git for Windows. A patch is included in version 2.37.1. Two workarounds are available. Create the `C:\mingw64` folder and remove read/write access from this folder, or disallow arbitrary authenticated users to create folders in `C:\`.CVSS8.2HighEPSS0.41%PrioritiseCVE-2021-46101gitforwindows · git +1 moregitforwindows gitIn Git for windows through 2.34.1 when using git pull to update the local warehouse, git.cmd can be run directly.CVSS7.5HighEPSS1.45%PrioritiseCVE-2018-11235canonical · ubuntu_linux +28 morecanonical ubuntu_linuxIn Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.CVSS7.8HighEPSS47.42%