Untrusted search path in GitPython - CVE-2023-40590

 

Untrusted search path in GitPython - CVE-2023-40590

Published: September 5, 2023


Vulnerability identifier: #VU80473
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-40590
CWE-ID: CWE-426
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gitpython-developers
Affected software:
GitPython

Detailed vulnerability description

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

The vulnerability exists due to usage of an untrusted search. A local user can place a malicious git.exe file into a repository directory, which will be executed during import.

The vulnerability affects Windows installations only.


How to mitigate CVE-2023-40590

Install updates from vendor's website.

Sources