Skip to content

CVE-2022-24439 Remote Code Execution (RCE)

CriticalCVSS 9.8 EPSS 6.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

13 packages: 11 fixed.

PackageAffectedFixed inStatus
debian/python-git(Debian 12) < 3.1.30-1 3.1.30-1 Fixed
debian/python-git(Debian 13) < 3.1.30-1 3.1.30-1 Fixed
debian/python-git(Debian 14) < 3.1.30-1 3.1.30-1 Fixed
gitpython project gitpython < 3.1.30 3.1.30 Fixed
pypi gitpython(PyPI) < 3.1.30; <= 3.1.29; = 0.1.7; = 0.2.0-beta1 +81 more 3.1.30 Fixed
ubuntu/python-git(Ubuntu 22.04) < 3.1.24-1ubuntu0.1~esm1 3.1.24-1ubuntu0.1~esm1 Fixed
ubuntu/python-git(Ubuntu Pro 14.04) < 0.3.2~RC1-3ubuntu0.1~esm1; = 0.3.2~RC1-2; = 0.3.2~RC1-3 0.3.2~RC1-3ubuntu0.1~esm1 Fixed
ubuntu/python-git(Ubuntu Pro 16.04) < 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1; = 1.0.1+git137-gc8b8379-1; = 1.0.1+git137-gc8b8379-2; = 1.0.1+git137-gc8b8379-2.1 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 Fixed
ubuntu/python-git(Ubuntu Pro 18.04) < 2.1.8-1ubuntu0.1~esm1; = 2.1.5-1; = 2.1.6-1; = 2.1.7-1 +1 more 2.1.8-1ubuntu0.1~esm1 Fixed
ubuntu/python-git(Ubuntu Pro 20.04) < 3.0.7-1ubuntu0.1~esm1; = 2.1.11-1; = 3.0.4-1; = 3.0.5-1 +1 more 3.0.7-1ubuntu0.1~esm1 Fixed
ubuntu/python-git(Ubuntu Pro 22.04) < 3.1.24-1ubuntu0.1~esm1; = 3.1.14-1; = 3.1.23-1; = 3.1.24-1 3.1.24-1ubuntu0.1~esm1 Fixed
debian linux = 10.0 No fix listed Versions listed
fedoraproject fedora = 36; = 37; = 38 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi gitpython(PyPI) < 3.1.30 3.1.30
pypi gitpython(PyPI) = 0.1.7 No fix listed
pypi gitpython(PyPI) = 0.2.0-beta1 No fix listed
pypi gitpython(PyPI) = 0.3.0-beta1 No fix listed
pypi gitpython(PyPI) = 0.3.0-beta2 No fix listed
pypi gitpython(PyPI) = 0.3.1-beta2 No fix listed
pypi gitpython(PyPI) = 0.3.2 No fix listed
pypi gitpython(PyPI) = 0.3.2.1 No fix listed
pypi gitpython(PyPI) = 0.3.2.RC1 No fix listed
pypi gitpython(PyPI) = 0.3.3 No fix listed
pypi gitpython(PyPI) = 0.3.4 No fix listed
pypi gitpython(PyPI) = 0.3.5 No fix listed
pypi gitpython(PyPI) = 0.3.6 No fix listed
pypi gitpython(PyPI) = 0.3.7 No fix listed
pypi gitpython(PyPI) = 1.0.0 No fix listed
pypi gitpython(PyPI) = 1.0.1 No fix listed
pypi gitpython(PyPI) = 1.0.2 No fix listed
pypi gitpython(PyPI) = 2.0.0 No fix listed
pypi gitpython(PyPI) = 2.0.1 No fix listed
pypi gitpython(PyPI) = 2.0.2 No fix listed
pypi gitpython(PyPI) = 2.0.3 No fix listed
pypi gitpython(PyPI) = 2.0.4 No fix listed
pypi gitpython(PyPI) = 2.0.5 No fix listed
pypi gitpython(PyPI) = 2.0.6 No fix listed
pypi gitpython(PyPI) = 2.0.7 No fix listed
Show 90 more
ProductAffected versionsFixed in
pypi gitpython(PyPI) = 2.0.8 No fix listed
pypi gitpython(PyPI) = 2.0.9 No fix listed
pypi gitpython(PyPI) = 2.0.9.dev0 No fix listed
pypi gitpython(PyPI) = 2.0.9.dev1 No fix listed
pypi gitpython(PyPI) = 2.1.0 No fix listed
pypi gitpython(PyPI) = 2.1.1 No fix listed
pypi gitpython(PyPI) = 2.1.10 No fix listed
pypi gitpython(PyPI) = 2.1.11 No fix listed
pypi gitpython(PyPI) = 2.1.12 No fix listed
pypi gitpython(PyPI) = 2.1.13 No fix listed
pypi gitpython(PyPI) = 2.1.14 No fix listed
pypi gitpython(PyPI) = 2.1.15 No fix listed
pypi gitpython(PyPI) = 2.1.2 No fix listed
pypi gitpython(PyPI) = 2.1.3 No fix listed
pypi gitpython(PyPI) = 2.1.4 No fix listed
pypi gitpython(PyPI) = 2.1.5 No fix listed
pypi gitpython(PyPI) = 2.1.6 No fix listed
pypi gitpython(PyPI) = 2.1.7 No fix listed
pypi gitpython(PyPI) = 2.1.8 No fix listed
pypi gitpython(PyPI) = 2.1.9 No fix listed
pypi gitpython(PyPI) = 3.0.0 No fix listed
pypi gitpython(PyPI) = 3.0.1 No fix listed
pypi gitpython(PyPI) = 3.0.2 No fix listed
pypi gitpython(PyPI) = 3.0.3 No fix listed
pypi gitpython(PyPI) = 3.0.4 No fix listed
pypi gitpython(PyPI) = 3.0.5 No fix listed
pypi gitpython(PyPI) = 3.0.6 No fix listed
pypi gitpython(PyPI) = 3.0.7 No fix listed
pypi gitpython(PyPI) = 3.0.8 No fix listed
pypi gitpython(PyPI) = 3.0.9 No fix listed
pypi gitpython(PyPI) = 3.1.0 No fix listed
pypi gitpython(PyPI) = 3.1.1 No fix listed
pypi gitpython(PyPI) = 3.1.10 No fix listed
pypi gitpython(PyPI) = 3.1.11 No fix listed
pypi gitpython(PyPI) = 3.1.12 No fix listed
pypi gitpython(PyPI) = 3.1.13 No fix listed
pypi gitpython(PyPI) = 3.1.14 No fix listed
pypi gitpython(PyPI) = 3.1.15 No fix listed
pypi gitpython(PyPI) = 3.1.16 No fix listed
pypi gitpython(PyPI) = 3.1.17 No fix listed
pypi gitpython(PyPI) = 3.1.18 No fix listed
pypi gitpython(PyPI) = 3.1.19 No fix listed
pypi gitpython(PyPI) = 3.1.2 No fix listed
pypi gitpython(PyPI) = 3.1.20 No fix listed
pypi gitpython(PyPI) = 3.1.22 No fix listed
pypi gitpython(PyPI) = 3.1.23 No fix listed
pypi gitpython(PyPI) = 3.1.24 No fix listed
pypi gitpython(PyPI) = 3.1.25 No fix listed
pypi gitpython(PyPI) = 3.1.26 No fix listed
pypi gitpython(PyPI) = 3.1.27 No fix listed
pypi gitpython(PyPI) = 3.1.28 No fix listed
pypi gitpython(PyPI) = 3.1.29 No fix listed
pypi gitpython(PyPI) = 3.1.3 No fix listed
pypi gitpython(PyPI) = 3.1.4 No fix listed
pypi gitpython(PyPI) = 3.1.5 No fix listed
pypi gitpython(PyPI) = 3.1.6 No fix listed
pypi gitpython(PyPI) = 3.1.7 No fix listed
pypi gitpython(PyPI) = 3.1.8 No fix listed
pypi gitpython(PyPI) = 3.1.9 No fix listed
pypi gitpython(PyPI) <= 3.1.29 No fix listed
ubuntu/python-git(Ubuntu:22.04) < 3.1.24-1ubuntu0.1~esm1 3.1.24-1ubuntu0.1~esm1
gitpython project gitpython < 3.1.30 3.1.30
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
fedoraproject fedora = 38 No fix listed
debian linux = 10.0 No fix listed
debian/python-git(Debian:12) < 3.1.30-1 3.1.30-1
debian/python-git(Debian:14) < 3.1.30-1 3.1.30-1
debian/python-git(Debian:13) < 3.1.30-1 3.1.30-1
ubuntu/python-git(Ubuntu:Pro:14.04) < 0.3.2~RC1-3ubuntu0.1~esm1 0.3.2~RC1-3ubuntu0.1~esm1
ubuntu/python-git(Ubuntu:Pro:14.04) = 0.3.2~RC1-2 No fix listed
ubuntu/python-git(Ubuntu:Pro:14.04) = 0.3.2~RC1-3 No fix listed
ubuntu/python-git(Ubuntu:Pro:16.04) < 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1
ubuntu/python-git(Ubuntu:Pro:16.04) = 1.0.1+git137-gc8b8379-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:16.04) = 1.0.1+git137-gc8b8379-2 No fix listed
ubuntu/python-git(Ubuntu:Pro:16.04) = 1.0.1+git137-gc8b8379-2.1 No fix listed
ubuntu/python-git(Ubuntu:Pro:18.04) < 2.1.8-1ubuntu0.1~esm1 2.1.8-1ubuntu0.1~esm1
ubuntu/python-git(Ubuntu:Pro:18.04) = 2.1.5-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:18.04) = 2.1.6-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:18.04) = 2.1.7-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:18.04) = 2.1.8-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:20.04) < 3.0.7-1ubuntu0.1~esm1 3.0.7-1ubuntu0.1~esm1
ubuntu/python-git(Ubuntu:Pro:20.04) = 2.1.11-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:20.04) = 3.0.4-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:20.04) = 3.0.5-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:20.04) = 3.0.7-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:22.04) < 3.1.24-1ubuntu0.1~esm1 3.1.24-1ubuntu0.1~esm1
ubuntu/python-git(Ubuntu:Pro:22.04) = 3.1.14-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:22.04) = 3.1.23-1 No fix listed
ubuntu/python-git(Ubuntu:Pro:22.04) = 3.1.24-1 No fix listed

References