CVE-2024-22190 Untrusted search path under some conditions on Windows allows arbitrary code execution
HighCVSS 7.8
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
11 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/python-git(Ubuntu 24.04) | = 3.1.30-1; = 3.1.37-1; = 3.1.37-3; All versions | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu 25.10) | = 3.1.44-1; All versions | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu 26.04) | = 3.1.44-1; = 3.1.45-1; = 3.1.46-1; All versions | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu Pro 14.04) | = 0.3.2~RC1-2; = 0.3.2~RC1-3; = 0.3.2~RC1-3ubuntu0.1~esm1; = 0.3.2~RC1-3ubuntu0.1~esm2 +1 more | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu Pro 16.04) | = 1.0.1+git137-gc8b8379-1; = 1.0.1+git137-gc8b8379-2; = 1.0.1+git137-gc8b8379-2.1; = 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 +2 more | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu Pro 18.04) | = 2.1.5-1; = 2.1.6-1; = 2.1.7-1; = 2.1.8-1 +3 more | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu Pro 20.04) | = 2.1.11-1; = 3.0.4-1; = 3.0.5-1; = 3.0.7-1 +3 more | No fix listed | No fix yet |
| ubuntu/python-git(Ubuntu Pro 22.04) | = 3.1.14-1; = 3.1.23-1; = 3.1.24-1; = 3.1.24-1ubuntu0.1~esm1 +2 more | No fix listed | No fix yet |
| gitpython project gitpython | < 3.1.41 | 3.1.41 | Fixed |
| pypi gitpython(PyPI) | < 3.1.41; = 0.1.7; = 0.2.0-beta1; = 0.3.0-beta1 +90 more | 3.1.41 | Fixed |
| gitpython-developers GitPython | = < 3.1.41 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi gitpython(PyPI) | < 3.1.41 | 3.1.41 |
| pypi gitpython(PyPI) | = 0.1.7 | No fix listed |
| pypi gitpython(PyPI) | = 0.2.0-beta1 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.0-beta1 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.0-beta2 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.1-beta2 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.2 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.2.1 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.2.RC1 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.3 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.4 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.5 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.6 | No fix listed |
| pypi gitpython(PyPI) | = 0.3.7 | No fix listed |
| pypi gitpython(PyPI) | = 1.0.0 | No fix listed |
| pypi gitpython(PyPI) | = 1.0.1 | No fix listed |
| pypi gitpython(PyPI) | = 1.0.2 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.0 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.1 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.2 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.3 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.4 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.5 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.6 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.7 | No fix listed |
Show 112 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi gitpython(PyPI) | = 2.0.8 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.9 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.9.dev0 | No fix listed |
| pypi gitpython(PyPI) | = 2.0.9.dev1 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.0 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.1 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.10 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.11 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.12 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.13 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.14 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.15 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.2 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.3 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.4 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.5 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.6 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.7 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.8 | No fix listed |
| pypi gitpython(PyPI) | = 2.1.9 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.0 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.1 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.2 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.3 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.4 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.5 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.6 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.7 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.8 | No fix listed |
| pypi gitpython(PyPI) | = 3.0.9 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.0 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.1 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.10 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.11 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.12 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.13 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.14 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.15 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.16 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.17 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.18 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.19 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.2 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.20 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.22 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.23 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.24 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.25 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.26 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.27 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.28 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.29 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.3 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.30 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.31 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.32 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.33 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.34 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.35 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.36 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.37 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.38 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.4 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.40 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.5 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.6 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.7 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.8 | No fix listed |
| pypi gitpython(PyPI) | = 3.1.9 | No fix listed |
| gitpython-developers GitPython | = < 3.1.41 | No fix listed |
| gitpython project gitpython | < 3.1.41 | 3.1.41 |
| ubuntu/python-git(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:14.04) | = 0.3.2~RC1-2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:14.04) | = 0.3.2~RC1-3 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:14.04) | = 0.3.2~RC1-3ubuntu0.1~esm1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:14.04) | = 0.3.2~RC1-3ubuntu0.1~esm2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | = 1.0.1+git137-gc8b8379-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | = 1.0.1+git137-gc8b8379-2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | = 1.0.1+git137-gc8b8379-2.1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | = 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:16.04) | = 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.5-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.6-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.7-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.8-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.8-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:18.04) | = 2.1.8-1ubuntu0.1~esm2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 2.1.11-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 3.0.4-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 3.0.5-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 3.0.7-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 3.0.7-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:20.04) | = 3.0.7-1ubuntu0.1~esm2 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | = 3.1.14-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | = 3.1.23-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | = 3.1.24-1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | = 3.1.24-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/python-git(Ubuntu:Pro:22.04) | = 3.1.24-1ubuntu0.1~esm2 | No fix listed |
| ubuntu/python-git(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:24.04) | = 3.1.30-1 | No fix listed |
| ubuntu/python-git(Ubuntu:24.04) | = 3.1.37-1 | No fix listed |
| ubuntu/python-git(Ubuntu:24.04) | = 3.1.37-3 | No fix listed |
| ubuntu/python-git(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:25.10) | = 3.1.44-1 | No fix listed |
| ubuntu/python-git(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-git(Ubuntu:26.04) | = 3.1.44-1 | No fix listed |
| ubuntu/python-git(Ubuntu:26.04) | = 3.1.45-1 | No fix listed |
| ubuntu/python-git(Ubuntu:26.04) | = 3.1.46-1 | No fix listed |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gitpython-developers/GitPython/pull/1792 issue-tracking patch vendor-advisory
- https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f issue-tracking patch
- github.com product
- github.com
- github.com
- Debian Security Tracker CVE-2024-22190 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking