Skip to main content
Public proof of conceptFix available

CVE-2022-24439

A public proof of concept exists; no exploitation attested.

  • Published2022-12-06
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

dates in UTC
  1. 2022-12-0605:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-24439?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-24439?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Fedoraproject fedora
BranchAffectedFixed in
36.x= 36no fix published
37.x= 37no fix published
38.x= 38no fix published
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
Gitpython project gitpython
BranchAffectedFixed in
3.1< 3.1.303.1.30

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • foremanRed Hat:satellite:6.13::el8all versions · fixed in 0:3.5.1.23-1.el8satand 12 other packages
  • foremanRed Hat:satellite_utils:6.13::el8all versions · fixed in 0:3.5.1.23-1.el8satand 1 other package
  • foremanRed Hat:satellite_capsule:6.13::el8all versions · fixed in 0:3.5.1.23-1.el8satand 1 other package
  • puppet-agentRed Hat:satellite:6.13::el8all versions · fixed in 0:7.26.0-3.el8sat
  • puppet-agentRed Hat:satellite_capsule:6.13::el8all versions · fixed in 0:7.26.0-3.el8sat
  • python-djangoRed Hat:satellite:6.13::el8all versions · fixed in 0:3.2.21-1.el8pcand 1 other package
  • python-djangoRed Hat:satellite_capsule:6.13::el8all versions · fixed in 0:3.2.21-1.el8pcand 1 other package
  • python-gitUbuntu:Pro:22.04:LTSall versions · fixed in 3.1.24-1ubuntu0.1~esm1

21 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-24439 Red Hat Product Security2 products fixed · 5 known affected

    GitPython: improper user input validation leads into a RCE

    python-gitpython.src as a component of Red Hat Ansible Automation Platform 2 · GitPython.src as a component of Red Hat OpenStack Platform 13 (Queens) · python3-GitPython as a component of Red Hat OpenStack Platform 16.1 · +2 more

  • RHSA-2023:5931 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.13.5 Async Security Update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2023:5931 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. No fix available, says the vendor Red Hat Product Security CVE-2022-24439 · 5 productsAffected

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
2 repositories, unverifiedmuhammadhendro/CVE-2022-24439Makkkiiii/GitPython-Exploit-CVE-2022-24439
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-12-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-hcpj-qp55-gfph

Frequently asked questions

What is CVE-2022-24439?

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.

Is CVE-2022-24439 actively exploited?

Active exploitation of CVE-2022-24439 has not been confirmed. Its EPSS score was 6.1% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-24439?

CVE-2022-24439 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running gitpython? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record