CVEvulnerability
CVE-2024-22190
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-01-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-426
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.
Affected configurations
• gitpython project gitpython (< 3.1.41)
Related
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f Patch
- https://github.com/gitpython-developers/GitPython/pull/1792 Patch, Vendor Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx Vendor Advisory
- https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f Patch
- https://github.com/gitpython-developers/GitPython/pull/1792 Patch, Vendor Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx Vendor Advisory