Vulnerabilities / CVE-2023-40267

critical

CVE-2023-40267

GitPython: Insecure non-multi options in clone and clone_from is not blocked

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

SourcePackageFixed in
pip::GitHub Security Advisory pipgitpython3.1.32
debian 10python-git2.1.11-1+deb10u1
debian 11python-git3.1.14-1+deb11u1
debian 12python-git3.1.30-1+deb12u2
debian 13python-git3.1.36-1
debian 14python-git3.1.36-1
echopython-git3.1.30-1+deb12u2
Red HatGitPython, python-gitpython, python3-GitPythonno fix listed
ubuntu 14.04-ESMpython-git0.3.2~RC1-3ubuntu0.1~esm2
ubuntu 16.04-ESMpython-git1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm2
ubuntu 18.04-ESMpython-git2.1.8-1ubuntu0.1~esm2
ubuntu 20.04-ESMpython-git3.0.7-1ubuntu0.1~esm2
Show all 16 entries from 14 sources
SourcePackageFixed in
pip::GitHub Security Advisory pipgitpython3.1.32
debian 10python-git2.1.11-1+deb10u1
debian 11python-git3.1.14-1+deb11u1
debian 12python-git3.1.30-1+deb12u2
debian 13python-git3.1.36-1
debian 14python-git3.1.36-1
echopython-git3.1.30-1+deb12u2
Red HatGitPythonno fix listed
Red Hatpython-gitpythonno fix listed
Red Hatpython3-GitPythonno fix listed
ubuntu 14.04-ESMpython-git0.3.2~RC1-3ubuntu0.1~esm2
ubuntu 16.04-ESMpython-git1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm2
ubuntu 18.04-ESMpython-git2.1.8-1ubuntu0.1~esm2
ubuntu 20.04-ESMpython-git3.0.7-1ubuntu0.1~esm2
ubuntu 22.04python-gitno fix listed
ubuntu 23.04python-git3.1.30-1ubuntu0.23.04.1

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.