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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-0062 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.
Github GHSA Github GHSA GHSA-2mqj-m65w-jghx Untrusted search path under some conditions on Windows allows arbitrary code execution
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-09-03T18:23:46.612Z

Reserved: 2024-01-08T04:59:27.370Z

Link: CVE-2024-22190

cve-icon Vulnrichment

Updated: 2024-08-01T22:35:34.932Z

cve-icon NVD

Status : Modified

Published: 2024-01-11T02:15:48.250

Modified: 2024-11-21T08:55:45.660

Link: CVE-2024-22190

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.