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.
Published: 2024-01-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
History

No history.

Subscriptions

Gitpython Project Gitpython
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.

Weaknesses