CVE-2022-24439
Remote Code Execution (RCE)
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Timeline
ID reserved
By snyk
- 10 months later
· 10 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 6.1% · top 6.5% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
- Remote Code Execution (RCE)
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
Affected products
GitPython
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIGitPythonGHSA-hcpj-qp55-gfph (opens in a new tab)
References (9)
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 (opens in a new tab)x_transferred
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249 (opens in a new tab)x_transferred
- FEDORA-2022-8146a727a8 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-ce7369b9ec (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3502-1] python-git security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2023-1ec4e542f9 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-26116901d9 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202311-01 (opens in a new tab)vendor-advisoryx_transferred
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hcpj-qp55-gfph (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-24439)Record last updated .