CVE-2022-24439 | Remote Code Execution (RCE)

Exp

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.

Published: 2022-12-06 Last update: 2025-11-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-24439 is rated High Exploit Risk (80.6/100): CVSS High severity, with high exploitation likelihood (EPSS 68.86%, 99th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-24439

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-24439

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-01 70.15% 68.86% -1.29%
2 2025-12-30 67.77% 70.15% +2.38%
3 2025-12-23 67.77%

Full EPSS history (34 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-24439

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 5.9 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]

Weakness enumeration for CVE-2022-24439

GitHub Security Advisory for CVE-2022-24439

GHSA-hcpj-qp55-gfph · Severity: critical · Ecosystem: pip — GitPython vulnerable to Remote Code Execution due to improper user input validation

OS Trackers for CVE-2022-24439

vendor priority summary link
debian not yet assigned CVE-2022-24439 not yet assigned priority: Debian including 1 source packages (python-git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-24439
gentoo high CVE-2022-24439: 1 GLSA(s) (202311-01), 1 atom(s) (dev-python/GitPython); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-24439
redhat medium https://access.redhat.com/security/cve/CVE-2022-24439
suse high CVE-2022-24439 severity important: SUSE including 10 source package names (python-GitPython, python3-bandit-1.7.6-1.1, …), 12 product×package rows across 6 product lines (HPE Helion OpenStack 8, SUSE Linux Enterprise Module for Python 3 15 SP6, … (6 product lines)): Fixed 9, Known Not Affected 3. https://www.suse.com/security/cve/CVE-2022-24439/
ubuntu medium CVE-2022-24439 medium priority: Ubuntu including 2 source packages (gitpython, python-git), 20 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 6, released 6, DNE 4, needs-triage 4. https://ubuntu.com/security/CVE-2022-24439

Affected software / configurations for CVE-2022-24439

Vendor Product Version Raw CPE
gitpython_project gitpython < 3.1.30 cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2022-24439

URL Tags
https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249 Broken Link
https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/ Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202311-01 Third Party Advisory
https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html
cvelogic Threat Intelligence