#VU85371 Untrusted search path in GitPython


Published: 2024-01-15

Vulnerability identifier: #VU85371

Vulnerability risk: Low

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

CVE-ID: CVE-2024-22190

CWE-ID: CWE-426

Exploitation vector: Local

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 incomplete fix for #VU80473 (CVE-2023-40590). A local user can place a malicious binary (e.g. git.exe or bash.exe) into a specific location on the system and execute arbitrary code with escalated privileges.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

GitPython: 3.0.0 - 3.1.40


External links
http://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx
http://github.com/gitpython-developers/GitPython/pull/1792
http://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f
http://github.com/gitpython-developers/GitPython/releases/tag/3.1.41


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability