CVE-2023-40267
GitPython: Insecure non-multi options in clone and clone_from is not blocked
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium), Ubuntu (medium).
Description
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | gitpython | 3.1.32 |
| debian 10 | python-git | 2.1.11-1+deb10u1 |
| debian 11 | python-git | 3.1.14-1+deb11u1 |
| debian 12 | python-git | 3.1.30-1+deb12u2 |
| debian 13 | python-git | 3.1.36-1 |
| debian 14 | python-git | 3.1.36-1 |
| echo | python-git | 3.1.30-1+deb12u2 |
| Red Hat | GitPython, python-gitpython, python3-GitPython | no fix listed |
| ubuntu 14.04-ESM | python-git | 0.3.2~RC1-3ubuntu0.1~esm2 |
| ubuntu 16.04-ESM | python-git | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm2 |
| ubuntu 18.04-ESM | python-git | 2.1.8-1ubuntu0.1~esm2 |
| ubuntu 20.04-ESM | python-git | 3.0.7-1ubuntu0.1~esm2 |
Show all 16 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | gitpython | 3.1.32 |
| debian 10 | python-git | 2.1.11-1+deb10u1 |
| debian 11 | python-git | 3.1.14-1+deb11u1 |
| debian 12 | python-git | 3.1.30-1+deb12u2 |
| debian 13 | python-git | 3.1.36-1 |
| debian 14 | python-git | 3.1.36-1 |
| echo | python-git | 3.1.30-1+deb12u2 |
| Red Hat | GitPython | no fix listed |
| Red Hat | python-gitpython | no fix listed |
| Red Hat | python3-GitPython | no fix listed |
| ubuntu 14.04-ESM | python-git | 0.3.2~RC1-3ubuntu0.1~esm2 |
| ubuntu 16.04-ESM | python-git | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm2 |
| ubuntu 18.04-ESM | python-git | 2.1.8-1ubuntu0.1~esm2 |
| ubuntu 20.04-ESM | python-git | 3.0.7-1ubuntu0.1~esm2 |
| ubuntu 22.04 | python-git | no fix listed |
| ubuntu 23.04 | python-git | 3.1.30-1ubuntu0.23.04.1 |
References
- https://access.redhat.com/security/cve/CVE-2023-40267
- https://github.com/advisories/GHSA-pr76-5cm5-w9cj
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/commit/5c59e0d63da6180db8a0b349f0ad36fef42aceed%20%283.1.32%29
- https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd
- https://github.com/gitpython-developers/GitPython/pull/1609
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2023-137.yaml
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html
All 15 references
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/
- https://nvd.nist.gov/vuln/detail/CVE-2023-40267
- https://ubuntu.com/security/notices/USN-6326-1
- https://www.cve.org/CVERecord?id=CVE-2023-40267