SecurityContext

CVE-2022-24439: gitpython - Remote Code Execution

  • Cve: CVE-2022-24439
  • Name: gitpython - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary code remotely by injecting malicious URLs during git clone operations.
  • Remediation: Update to the latest version of gitpython that addresses this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.06167
  • Epss percentile: 0.93657
  • Assignee: [email protected]
  • Published at: 2022-12-06T05:15:11Z
  • Age in days: 1449
  • Modified at: 2026-06-17T04:31:50Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 8
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24439
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858nvd2022-12-06
https://github.com/Makkkiiii/GitPython-Exploit-CVE-2022-24439poc-in-github2025-07-12
https://github.com/muhammadhendro/CVE-2022-24439poc-in-github2024-10-16

References

Same in every row:

  • Source: nvd
UrlTags
https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858Exploit, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/07/msg00024.htmlMailing 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-01Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
gitpython_project:gitpython< 3.1.30/v1/products/gitpython_project/gitpython
debian:debian_linux= 10.0/v1/products/debian/debian_linux
fedoraproject:fedora= 38, = 37, = 36/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
gitpython-developers/gitpythoncommit, fix, issues, package, releasesyes/v1/repositories/gitpython-developers/gitpython

Index

  • Repositories: 364
  • Repositories high signal: 209
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2022-12-06
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports