cve/2022/CVE-2022-24439.md

19 lines
922 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-24439](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24439)
![](https://img.shields.io/static/v1?label=Product&message=GitPython&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Remote%20Code%20Execution%20(RCE)&color=brighgreen)
### 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.
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/tern-tools/tern