HIGH 8.1 PyPI

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

GHSA-hcpj-qp55-gfph · CVE-2022-24439 · PYSEC-2022-42992

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

References

Ready to move

Start Securing

Free, no credit card | First findings in minutes