Skip to main content
← All vulnerabilities
CVE-2022-24439PYSEC-2022-42992GHSA-HCPJ-QP55-GFPH

Remote Code Execution (RCE)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.30
2 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a GitPython

    All versions

  • gitpythonPyPI

    fixed in 3.1.30

References 10

security.snyk.io

GitHub · gitpython-developers/GitPython

lists.fedoraproject.org

lists.debian.org

security.gentoo.org

GitHub · Makkkiiii/GitPython-Exploit-CVE-2022-24439

GitHub · muhammadhendro/CVE-2022-24439