7.8

CVE-2024-22190: gitpython_project gitpython Untrusted Search Path

CVSS: 7.8v3.1HighModified
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 23% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known 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

23%

Versus all other CVEs

30-day change

0.00 pp

From 0.32% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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