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 |
Debian Bugs | 1027163 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-git (PTS) | buster | 2.1.11-1 | vulnerable |
| buster (security) | 2.1.11-1+deb10u1 | fixed |
| bullseye | 3.1.14-1 | vulnerable |
| bookworm | 3.1.30-1 | fixed |
| sid, trixie | 3.1.36-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - python-git <no-dsa> (Minor issue)
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)