CVE-2024-22190
Untrusted search path under some conditions on Windows allows arbitrary code execution
HIGH 8.6EPSS 0.3%
GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If either of those features are used on Windows, a malicious `git.exe` or `bash.exe` may be run from an untrusted repository. This issue has been patched in version 3.1.41.
- Affected
- gitpython-developers · GitPython
- CVSS v4.0 GitHub
- 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS
- 0.32% chance of exploitation in the next 30 days, 23rd percentile
- Published
- 2024-01-11
- Updated
- 2024-09-03
Proof-of-concept exploits (1)
Security advisories
- gitpython-developers/GitPython/pull/1792
- gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx