cve.bz

CVE-2022-24439

9.8 criticalEPSS 6.1%

Critical (9.8). EPSS 6.1% chance of exploitation in the next 30 days. Fixed in gitpython 3.1.30.

All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.1% chance of exploitation in the next 30 days; higher than 93% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hcpj-qp55-gfphPyPIgitpython<3.1.303.1.30
PYSEC-2022-42992PyPIgitpython<3.1.303.1.30

References

Check your stackJSON