CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LMedium (6.5) in gitpython project gitpython. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.35, 3.1.37.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Lgitpython (PyPI): fixed in 3.1.37, 3.1.35Explain CVE-2023-41040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41040?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-41040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gitpython_project:gitpython | through 3.1.34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-cwvm-v4w8-q58c | PyPI | gitpython | <3.1.37 | 3.1.37 |
| PYSEC-2023-165 | PyPI | gitpython | <3.1.35 | 3.1.35 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-git | 2.1.11-1+deb10u2 | DLA-3589-1 |
| Debian | 11 | python-git | 3.1.14-1+deb11u1 | DLA-3939-1 |
| Debian | 12 | python-git | 3.1.30-1+deb12u2 | DEBIAN-CVE-2023-41040 |
| Debian | 13, 14 | python-git | 3.1.36-1 | DEBIAN-CVE-2023-41040 |
| Ubuntu | Pro:14.04:LTS | python-git | 0.3.2~RC1-3ubuntu0.1~esm3 | UBUNTU-CVE-2023-41040 USN-8303-1 |
| Ubuntu | Pro:16.04:LTS | python-git | 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4 | UBUNTU-CVE-2023-41040 USN-8303-1 |
| Ubuntu | Pro:18.04:LTS | python-git | 2.1.8-1ubuntu0.1~esm4 | UBUNTU-CVE-2023-41040 USN-8303-1 |
| Ubuntu | Pro:20.04:LTS | python-git | 3.0.7-1ubuntu0.1~esm4 | UBUNTU-CVE-2023-41040 USN-8303-1 |
| Ubuntu | Pro:22.04:LTS | python-git | 3.1.24-1ubuntu0.1~esm3 | UBUNTU-CVE-2023-41040 USN-8303-1 |
| Ubuntu | Pro:24.04:LTS | python-git | 3.1.37-3ubuntu0.1~esm2 | USN-8303-1 |
| Ubuntu | Pro:26.04:LTS | python-git | 3.1.46-1ubuntu0.1~esm1 | USN-8303-1 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.5-2.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.3-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-django, python3x-django | 0:4.2.11-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gitpython, python3x-gitpython | 0:3.1.40-1.el8ap | RHSA-2024:0322 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-twisted, python3x-twisted, python39-twisted+tls | 0:23.10.0-1.el8ap | RHSA-2024:0322 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | receptor, receptorctl | 0:1.4.5-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | automation-controller-venv-tower | 0:4.5.5-2.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-aiohttp, python3-aiohttp, python3-aiohttp-debuginfo and 1 more | 0:3.9.3-1.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-django, python3-django | 0:4.2.11-1.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-gitpython, python3-gitpython | 0:3.1.40-1.el9ap | RHSA-2024:0322 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-twisted, python3-twisted, python3-twisted+tls | 0:23.10.0-1.el9ap | RHSA-2024:0322 |
| Red Hat | ansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9 | receptor, receptorctl | 0:1.4.5-1.el9ap | RHSA-2024:1640 |
| 22 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Package Hub 15 SP4 | python-GitPython | 3.1.12.1610074031.f653af66-bp154.2.3.1 | openSUSE-SU-2023:0271-1 |
| SUSE | Package Hub 15 SP5 | python-GitPython | 3.1.12.1610074031.f653af66-bp155.3.3.1 | openSUSE-SU-2023:0259-1 |
| openSUSE | Leap 15.4 | python-GitPython | 3.1.12.1610074031.f653af66-bp154.2.3.1 | openSUSE-SU-2023:0271-1 |
| openSUSE | Leap 15.5 | python-GitPython | 3.1.12.1610074031.f653af66-bp155.3.3.1 | openSUSE-SU-2023:0259-1 |
| openSUSE | Tumbleweed | python-GitPython | 3.1.56-1.1 | openSUSE-SU-2026:11419-1 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | py3-gitpython | 3.1.37-r0 | ALPINE-CVE-2023-41040 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability cannot be used to read the contents of files but could be used to trigger a denial of service for the program.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-gitpython-0:3.1.40-1.el8ap | Fixed 2024-01-22 | RHSA-2024:0322 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | automation-controller-0:4.5.5-2.el8ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-gitpython-0:3.1.40-1.el9ap | Fixed 2024-01-22 | RHSA-2024:0322 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | automation-controller-0:4.5.5-2.el9ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat OpenStack Platform 17.1 for RHEL 8 | GitPython-0:3.1.14-2.el8ost | Fixed 2024-01-16 | RHSA-2024:0190 |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | GitPython-0:3.1.14-2.el9ost | Fixed 2024-01-16 | RHSA-2024:0215 |
| Red Hat Satellite 6.14 for RHEL 8 | python-gitpython-0:3.1.40-0.1.el8pc | Fixed 2023-12-14 | RHSA-2023:7851 |
| Red Hat Certification for Red Hat Enterprise Linux 7 | redhat-certification | Out of support scope | |
| Red Hat Certification for Red Hat Enterprise Linux 8 | redhat-certification | Will not fix | |
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | redhat-certification | Will not fix | |
| Red Hat OpenStack Platform 16.1 | GitPython | Will not fix | |
| Red Hat OpenStack Platform 16.2 | GitPython | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-41040.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.