# CVE-2022-24439: python3-git: All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation...

CVE-2022-24439 is fixed in 2 products on 1 platform, first by python-git 2.1.8-1ubuntu0.1~esm1, released December 5, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-24439
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0614
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 5, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-git Debian 11.6 (bullseye) | 3.1.14-1+deb11u1 | [DLA-3939-1](https://patchblox.com/security/data/fix/linux/dla-3939-1.md) | Oct 29, 2024 |
| Linux | python-git Debian 12.15 (bookworm) | 3.1.30-1 | [DEBIAN-CVE-2022-24439](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24439.md) | Dec 6, 2022 |
| Linux | python-git Debian 13.5 (trixie) | 3.1.30-1 | [DEBIAN-CVE-2022-24439](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24439.md) | Dec 6, 2022 |
| Linux | python-git Debian 14 | 3.1.30-1 | [DEBIAN-CVE-2022-24439](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24439.md) | Dec 6, 2022 |
| Linux | python-git Ubuntu 18.04.6 LTS (bionic) | 2.1.8-1ubuntu0.1~esm1 | [python-git 2.1.8-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-git-2.1.8-1ubuntu0.1-esm1.md) | Dec 5, 2022 |
| Linux | python3-git Ubuntu 18.04.6 LTS (bionic) | 2.1.8-1ubuntu0.1~esm1 | [python3-git 2.1.8-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-git-2.1.8-1ubuntu0.1-esm1.md) | Dec 5, 2022 |
| Linux | python3-git Ubuntu 20.04 LTS (focal) | 3.0.7-1ubuntu0.1~esm1 | [python3-git 3.0.7-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-git-3.0.7-1ubuntu0.1-esm1.md) | Dec 5, 2022 |
| Linux | python3-git Ubuntu 22.04.1 LTS (jammy) | 3.1.24-1ubuntu0.1~esm1 | [python3-git 3.1.24-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-git-3.1.24-1ubuntu0.1-esm1.md) | Dec 5, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
