Vulnerability
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.
11 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
DEBIAN-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.…
-
DLA-3502-1
python-git - security update
-
DLA-3939-1
python-git - security update
-
GHSA-hcpj-qp55-gfph
GitPython vulnerable to Remote Code Execution due to improper user input validation
-
OESA-2023-1529
python-GitPython security update
-
PYSEC-2022-42992
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.…
-
RHSA-2023:5931
Red Hat Security Advisory: Satellite 6.13.5 Async Security Update
-
UBUNTU-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.…
-
USN-5968-1
python-git vulnerability
-
openSUSE-SU-2024:13510-1
python3-bandit-1.7.6-1.1 on GA media
-
openSUSE-SU-2025:14858-1
python311-GitPython-3.1.44-1.1 on GA media
References
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249
- https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/
- https://security.gentoo.org/glsa/202311-01
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html