CVE-2022-24439
published high CVSS 3.1 · 8.1Remote Code Execution (RCE)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | GitPython0 to < unspecified | Affected | Not stated | snyk |
| Debian | bullseye | python-git | Advisory build | 3.1.14-1+deb11u1 | DLA-3939-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-banditaarch64 | Advisory build | 1.7.6-1.1 | OPENSUSE-SU-2024:13510-1 |
| Ubuntu | bionic | python-git | Advisory build | 2.1.8-1ubuntu0.1~esm1 | USN-5968-1 |
| Debian | buster | python-git | Advisory build | 2.1.11-1+deb10u1 | DLA-3502-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-banditppc64le | Advisory build | 1.7.6-1.1 | OPENSUSE-SU-2024:13510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-bandits390x | Advisory build | 1.7.6-1.1 | OPENSUSE-SU-2024:13510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-banditx86_64 | Advisory build | 1.7.6-1.1 | OPENSUSE-SU-2024:13510-1 |
Show 32 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-GitPythonaarch64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-GitPythonppc64le | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-GitPythons390x | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-GitPythonx86_64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-GitPythonaarch64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-GitPythonppc64le | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-GitPythons390x | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-GitPythonx86_64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-GitPythonaarch64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-GitPythonppc64le | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-GitPythons390x | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-GitPythonx86_64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-GitPythonaarch64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-GitPythonppc64le | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-GitPythons390x | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-GitPythonx86_64 | Advisory build | 3.1.44-1.1 | OPENSUSE-SU-2025:14858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-GitPythonaarch64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-GitPythonppc64le | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-GitPythons390x | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-GitPythonx86_64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-GitPythonaarch64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-GitPythonppc64le | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-GitPythons390x | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-GitPythonx86_64 | Advisory build | 3.1.30.1672298042.141cd65-1.1 | OPENSUSE-SU-2024:12596-1 |
| Ubuntu | bionic | python3-git | Advisory build | 2.1.8-1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | esm | python-git | Advisory build | 0.3.2~RC1-3ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | focal | python-git | Advisory build | 3.0.7-1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | focal | python3-git | Advisory build | 3.0.7-1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | jammy | python-git | Advisory build | 3.1.24-1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | jammy | python3-git | Advisory build | 3.1.24-1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | xenial | python-git | Advisory build | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 | USN-5968-1 |
| Ubuntu | xenial | python3-git | Advisory build | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 | USN-5968-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | GitPython | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Remote Code Execution (RCE)
References
9- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249
- [debian-lts-announce] 20230725 [SECURITY] [DLA 3502-1] python-git security update https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html
- FEDORA-2023-26116901d9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/
- FEDORA-2022-8146a727a8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/
- FEDORA-2023-1ec4e542f9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/
- FEDORA-2022-ce7369b9ec https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/
- GLSA-202311-01 https://security.gentoo.org/glsa/202311-01
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
Provider assertions
2snyk · cna
Remote Code Execution (RCE)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57f53ea726a16c8264bc3d4cf0922247e8eabe3f4b30c47996ddb6c0fbc1b96b
- Ingested
- 23 Sep 2026, 07:58:49 UTC
- Source record
- Official CVE record