CVE-2024-22190

HIGHCVSS 7.8/10EPSS 0.32%

Last modified

CVE-2024-22190 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. EPSS estimates a 0.32% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
0.32%

23.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Gitpython ProjectGitpython< 3.1.41

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-22190?
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.
How severe is CVE-2024-22190?
CVE-2024-22190 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.32% probability of exploitation in the next 30 days.
How do I fix CVE-2024-22190?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-22190?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST