Read the docs
TI-2022-08311 Aliases CVE-2022-24439GHSA-hcpj-qp55-gfph

Remote code execution (RCE) in GitPython

Priority MEDIUM 51CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.

Summary

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.

Why it matters now

EPSS 0.06137 93rd percentileScored 2026-11-07
Fix Partial GitPython (PyPI): 3.1.30Red Hat: 1 advisoryRed Hat: 1 fixed, 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—GitPythonall versions—No fix listedCNA
—GitPython (PyPI)before 3.1.303.1.30Patch availableGHSA-hcpj-qp55-gfph
  • GitPython Vendor— Affected all versions Fixed in — No fix listed CNA
  • GitPython (PyPI) Vendor— Affected before 3.1.30 Fixed in 3.1.30 Patch available GHSA-hcpj-qp55-gfph

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*before 3.1.30Vulnerablegitpython-developers
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* Versions before 3.1.30 Vulnerable ·gitpython-developers
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-hcpj-qp55-gfph GitPython (PyPI) Fixed in 3.1.30 Advisory →

Red Hat 1 advisory

  • RHSA-2023:5931 Released 2023-10-19 · Red Hat rating Important
    Satellite 6.13.5 Async Security Update
    • Red Hat Satellite 6.13 for RHEL 8 foreman-3.5.1.23-1.el8sat, foreman-cli-3.5.1.23-1.el8sat, foreman-debug-3.5.1.23-1.el8sat +17

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix yet
Red Hat OpenStack Platform 16.1AffectedNo fix yet
Red Hat OpenStack Platform 16.2AffectedNo fix yet
Red Hat OpenStack Platform 17.0AffectedNo fix yet
Red Hat Satellite 6.13 for RHEL 8Fixed RHSA-2023:5931
Not affected: 1 product
  • Red Hat Satellite 6.13 for RHEL 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24439
  2. 2026-10-03 Alias added: GHSA-hcpj-qp55-gfph

References

Other 16

Sources