CVE-2022-24439
Remote Code Execution (RCE)
- State
- Published
- Severity
- 8.1 High
- Published
- Dec 12, 2022
- Updated
- Nov 3, 2025
- Reserved
- Feb 24, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
GitPythonn/a |
|
References
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249
- FEDORA-2022-8146a727a8vendor-advisory
- FEDORA-2022-ce7369b9ecvendor-advisory
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3502-1] python-git security updatemailing-list
- FEDORA-2023-1ec4e542f9vendor-advisory
- FEDORA-2023-26116901d9vendor-advisory
- GLSA-202311-01vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.