PYSEC-2022-42992
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-24439
- Alias
- GHSA-hcpj-qp55-gfph
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · gitpython | introduced 0, fixed 3.1.30 |
Références
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 EVIDENCE
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 WEB
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249 WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/ ARTICLE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/ WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/ ARTICLE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/ WEB
- https://github.com/advisories/GHSA-hcpj-qp55-gfph ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |