7.8

CVE-2024-22190: Untrusted search path under some conditions on Windows allows arbitrary code execution

Modified
AliasesGHSA-2mqj-m65w-jghxPYSEC-2024-4UBUNTU-CVE-2024-22190
Published 11-01-2024Last modified 03-09-2024

Vulnerability summary

CVE-2024-22190 is a high (CVSS 7.8) Untrusted Search Path vulnerability in gitpython_project gitpython. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 11-01-2024
    PublishedVulnerability first disclosed.
  2. 03-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • checkov< 3.0.34-r1
Gitpython_project1 product
Gitpython-developers1 product
PyPI1 product
  • gitpython< ef3192cc414f2fd9978908454f6fd95243784c7f | < 3.1.41
Ubuntu1 product
  • python-gitAll versions (No fix recorded)
Wolfi1 product
  • checkov< 3.0.34-r1

6 vendors · 6 products

References

9 links