U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2022-24767

Change History

CVE Modified by GitHub, Inc. 4/15/2022 3:15:12 PM

Action Type Old Value New Value
Removed CVSS V3.1
GitHub, Inc. AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

								
						
Removed CWE
GitHub, Inc. CWE-427

								
						
Changed Description
Git for Windows is a fork of Git containing Windows-specific patches. Since part of Git for Windows' uninstaller is copied into the current user's temporary directory and run in that place, it is important to ensure that there are no malicious `.dll` file in that directory that might be loaded as part of loading the executable. However, the default system settings for `TMP` and `TEMP` are to point to `C:\Windows\Temp`, a folder that is world-writable (for historical reasons), and the SYSTEM user account inherits those settings. This means that any authenticated user can place malicious `.dll` files that are loaded when Git for Windows' uninstaller is run via the SYSTEM account. Fixes are available in Git for Windows v2.35.2 or newer. Users unable to upgrade may override SYSTEM's `TMP` environment variable to point to a directory exclusively under SYSTEM's control before running the uninstaller, clear `C:\Windows\Temp` of all `.dll` files before running the uninstaller, or run the uninstaller under an admin account rather than SYSTEM as a workaround.
GitHub: Git for Windows' uninstaller vulnerable to DLL hijacking when run under the SYSTEM user account.
Added Reference

								
							
							
						
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-24767 [No Types Assigned]
Removed Reference
https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3 [No Types Assigned]