PYSEC-2022-42992

At a glance

Published
Updated
CVE
CVE-2022-24439
Aliases
GHSA-hcpj-qp55-gfph

Description

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.

Affected packages

PackageVersions
PyPI · gitpythonintroduced 0, fixed 3.1.30

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database