GitPython blind local file inclusion
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| gitpython-developers | GitPython | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | |||
| python3x-gitpython-0:3.1.40-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2024:0322 | 2024-01-22T00:00:00Z |
| automation-controller-0:4.5.5-2.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2024:1640 | 2024-04-02T00:00:00Z |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | |||
| python-gitpython-0:3.1.40-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2024:0322 | 2024-01-22T00:00:00Z |
| automation-controller-0:4.5.5-2.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2024:1640 | 2024-04-02T00:00:00Z |
| Red Hat OpenStack Platform 17.1 for RHEL 8 | |||
| GitPython-0:3.1.14-2.el8ost | cpe:/a:redhat:openstack:17.1::el8 | RHSA-2024:0190 | 2024-01-16T00:00:00Z |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | |||
| GitPython-0:3.1.14-2.el9ost | cpe:/a:redhat:openstack:17.1::el9 | RHSA-2024:0215 | 2024-01-16T00:00:00Z |
| Red Hat Satellite 6.14 for RHEL 8 | |||
| python-gitpython-0:3.1.40-0.1.el8pc | cpe:/a:redhat:satellite:6.14::el8 | RHSA-2023:7851 | 2023-12-14T00:00:00Z |
| python-gitpython-0:3.1.40-0.1.el8pc | cpe:/a:redhat:satellite_capsule:6.14::el8 | RHSA-2023:7851 | 2023-12-14T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3589-1 | python-git security update |
Debian DLA |
DLA-3939-1 | python-git security update |
EUVD |
EUVD-2023-0087 | GitPython is a python library used to interact with Git repositories. In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system. This vulnerability is present in https://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175. That code joins the base directory with a user given string without checking if the final path is located outside the base directory. This vulnerability cannot be used to read the contents of files but could in theory be used to trigger a denial of service for the program. This issue has not yet been addressed. |
Github GHSA |
GHSA-cwvm-v4w8-q58c | GitPython blind local file inclusion |
Ubuntu USN |
USN-8303-1 | GitPython vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.1% (1.093% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GitPython is a python library used to interact with Git repositories. In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system. This vulnerability is present in https://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175. That code joins the base directory with a user given string without checking if the final path is located outside the base directory. This vulnerability cannot be used to read the contents of files but could in theory be used to trigger a denial of service for the program. This issue has not yet been addressed. | GitPython is a python library used to interact with Git repositories. In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system. This vulnerability is present in https://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175. That code joins the base directory with a user given string without checking if the final path is located outside the base directory. This vulnerability cannot be used to read the contents of files but could in theory be used to trigger a denial of service for the program. This issue has been addressed in version 3.1.37. |
| Title | Blind local file inclusion in GitPython | GitPython blind local file inclusion |
| References |
|
|