#VU80473 Untrusted search path in GitPython - CVE-2023-40590


Vulnerability identifier: #VU80473

Vulnerability risk: Medium

CVSSv4.0: 4.8 [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: 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
https://docs.python.org/3/library/subprocess.html#popen-constructor
https://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