Untrusted search path in Git for Windows - CVE-2023-29011

 

Untrusted search path in Git for Windows - CVE-2023-29011

Published: April 25, 2023 / Updated: June 14, 2023


Vulnerability identifier: #VU75487
CSH Severity: Low
CVSS v4: 8.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-29011
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to usage of a hard-coded search path for the connect.exe binary used to run SOCKS5 proxy. A local user can place a malicious file into the "C:\etc" folder and execute it with privileges of the current user.


Affected software

Git for Windows
Visual Studio

How to mitigate CVE-2023-29011

Install updates from vendor's website.

Git for Windows - update to 2.40.1.1
Visual Studio - addressed in versions 16.11.27 16.11.33801.447, 17.0.22 17.0.33801.228, 17.2.16 17.2.33801.349, 17.4.8 17.4.33801.306, 17.6.3 17.6.33801.468, 2017 version 15.9.55

External References

Related Security Bulletins