Description (CNA)
GitPython before 3.2.0 contains a remote code execution vulnerability that allows attackers to run commands because Git.ls_remote forwards URLs without check_unsafe_protocols validation. Attackers can supply ext:: remote-helper URLs to execute commands when git permits the ext transport, while merge_base and IndexFile.move also accept unguarded option injection.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitpython-developers / GitPython | affected 0 before 3.2.0; unaffected 3.2.0 |
CWE
CWE-1287
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw
- https://www.vulncheck.com/advisories/gitpython-before-3.2.0-command-execution-via-ls-remote-ext-urls
ADP enrichment
No English description supplied.
No references supplied.