Name | CVE-2022-24439 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3502-1, DLA-3939-1, ELA-894-1 |
Debian Bugs | 1027163 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-git (PTS) | jessie | 0.3.2~RC1-3 | vulnerable |
stretch (lts), stretch | 2.1.1-2+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 2.1.11-1+deb10u2 | fixed | |
bullseye | 3.1.14-1 | vulnerable | |
bullseye (security) | 3.1.14-1+deb11u1 | fixed | |
bookworm | 3.1.30-1+deb12u2 | fixed | |
sid, trixie | 3.1.37-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-git | source | jessie | (unfixed) | end-of-life | ||
python-git | source | stretch | 2.1.1-2+deb9u1 | ELA-894-1 | ||
python-git | source | buster | 2.1.11-1+deb10u1 | DLA-3502-1 | ||
python-git | source | bullseye | 3.1.14-1+deb11u1 | DLA-3939-1 | ||
python-git | source | (unstable) | 3.1.30-1 | 1027163 |
https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
https://github.com/gitpython-developers/GitPython/commit/787359d80d80225095567340aa5e7ec01847fa9a (3.1.30)
https://github.com/gitpython-developers/GitPython/commit/678a8fe08dd466fcfe8676294b52887955138960 (3.1.30)
Follow-up fix: https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd (3.1.32, pending CVE request with Snyk)