#VU80473 Untrusted search path in GitPython


Published: 2023-09-05

Vulnerability identifier: #VU80473

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-40590

CWE-ID: CWE-426

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
GitPython
Other software / Other software solutions

Vendor: gitpython-developers

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

GitPython: 3.0.0 - 3.1.32


External links
http://docs.python.org/3/library/subprocess.html#popen-constructor
http://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wfm5-v35h-vwf4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability