NetSight
critical8.1

CVE-2022-24439

GitPython vulnerable to Remote Code Execution due to improper user input validation

Impact

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

EcosystemPackageAffectedFixed in
pipGitPython<= 3.1.293.1.30

Affected products

VendorProductAffected versions
Gitpython ProjectGitpython
before 3.1.30
FedoraprojectFedora
Versions 36, 37, 38
DebianDebian Linux
Version 10.0

Weakness classification

References