CVE catalog

CVE-2022-24439

python-git: CVE-2022-24439

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
6.14% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-gitsid3.2.1-1fixed
Debianpython-gitforky3.2.1-1fixed
Debianpython-gittrixie3.1.44-1fixed
Debianpython-gitbookworm3.1.30-1+deb12u2fixed
Ubuntupython-gitpro3.1.14-1vulnerable
Ubuntupython-gitpro3.1.23-1vulnerable
Ubuntupython-gitpro3.1.24-1vulnerable
Ubuntupython-gitpro3.1.24-1ubuntu0.1~esm1fixed
Ubuntupython-gitpro3.1.14-1vulnerable
Ubuntupython-gitpro3.1.23-1vulnerable
Ubuntupython-gitpro3.1.24-1vulnerable
Ubuntupython-gitpro3.1.24-1ubuntu0.1~esm1fixed
Opensusepython3-bandittumbleweed1.7.6-1.1fixed
Opensusepython-GitPythontumbleweed3.1.44-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-gitsourcesid3.1.30-1not yet assignedNot reported[1027163]
Debianpython-gitsourceforky3.1.30-1not yet assignedNot reported[1027163]
Debianpython-gitsourcetrixie3.1.30-1not yet assignedNot reported[1027163]
Debianpython-gitsourcebookworm3.1.30-1not yet assignedNot reported[1027163]
Ubuntupython-gitdebpro3.1.24-1ubuntu0.1~esm1Not reportedUSN-5968-1Not reported
Ubuntupython-gitdebpro3.1.24-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2022-24439Not reported
Opensusepython3-banditrpmtumbleweed1.7.6-1.1Not reportedOPENSUSE-SU-2024:13510-1Not reported
Opensusepython-GitPythonrpmtumbleweed3.1.44-1.1Not reportedOPENSUSE-SU-2025:14858-1Not reported

[Debian bug #1027163]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-GitPython]

    Details (1)
    • 3.1.61-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.1.44-1.1

      Version impact unknown

      dsa · python-GitPython · opensuse · tumbleweed

  • Source package: [python-GitPython]

    Details (1)
    • 3.1.61-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.1.44-1.1

      Version impact unknown

      dsa · python-GitPython · opensuse · tumbleweed

  • Source package: [python-bandit]

    Details (1)
    • 1.9.4-1.2 · noarch · tumbleweed

      Fixed · Fixed: 1.7.6-1.1

      dsa · python3-bandit · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [python-git]

    Details (2)
    • 3.1.30-1+deb12u2 · all · bookworm

      Fixed · Fixed: 3.1.30-1

      dsa · python-git · debian · bookworm

    • 3.1.30-1+deb12u2 · all · bookworm

      Fixed · Fixed: 3.1.30-1

      dsa · python-git · debian · bookworm

  • Source package: [python-git]

    Details (2)
    • 3.1.30-1+deb12u2 · all · bookworm

      Fixed · Fixed: 3.1.30-1

      dsa · python-git · debian · bookworm

    • 3.1.30-1+deb12u2 · all · bookworm

      Fixed · Fixed: 3.1.30-1

      dsa · python-git · debian · bookworm

Observed:

References