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
Link | Resource |
---|---|
https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 | Exploit Third Party Advisory |
https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249 | Broken Link |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/ | Mailing List Third Party Advisory |
Information
Published : 2022-12-05 21:15
Updated : 2023-02-06 14:17
NVD link : CVE-2022-24439
Mitre link : CVE-2022-24439
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
gitpython_project
- gitpython
fedoraproject
- fedora