cve.bz

CVE-2024-22190

7.8 highEPSS 0.3%

High (7.8) in gitpython project gitpython. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in gitpython 3.1.41.

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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 24% of CVEs (scores of 2026-10-31)
CWE
CWE-426
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2mqj-m65w-jghxPyPIgitpython<3.1.413.1.41
PYSEC-2024-4PyPIgitpython<3.1.413.1.41

References

Check your stackJSON