CVE-2024-22190
Gitpython Project Gitpython vulnerability
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 products
Gitpython. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gitpython Project Gitpython runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gitpython-developers/GitPython/pull/1792 · Patch
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx · Vendor Advisory
- github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-22190
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2024-4.yaml
- github.com/advisories/GHSA-2mqj-m65w-jghx
- nvd.nist.gov/vuln/detail/CVE-2024-22190
- cve.org/CVERecord?id=CVE-2024-22190
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.