GIT_DIR` in the Windows registry, which will then be picked up by Git operations. This vulnerability has been patched in Git for Windows v2.35.2. In order to be protected against the vulnerability, users must create the registry entry `GIT_DIR` in the registry. Users must do this either manually or by updating the registry with a tool such as HJ.

Vulnerable Code: if ( git_dir.StartsWith("C:")) return false;

if ( git_dir.StartsWith("D:")) return false;
else if ( git_dir.StartsWith("E:")) return true;
else return true;

Installing Git for Windows

To install Git for Windows, download the installer from The installer will create a new folder on the Desktop called `Git` and also create a new shortcut on the Desktop to open Git in its latest release.

Git for Windows: How to Create a Registry Entry to Protect Against CVE-2022-24765

Git for Windows v2.35.2 is a patch release that fixed this vulnerability.

Microsoft Azure Service Management API Security Weakness

A security flaw that has been discovered by Microsoft is in their Azure Service Management API. This weakness allows for remote code execution on Windows Server and Windows Desktop systems, as well as when used with Microsoft SQL Server. This vulnerability is addressed in the update to Azure Service Management API (v2.0).


Published on: 04/12/2022 18:15:00 UTC
Last modified on: 07/29/2022 03:15:00 UTC