GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like –file= to read arbitrary files, with contents returned in the annotated tag message.
The product allows user input to control or influence paths or file names that are used in filesystem operations.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | python3.12-gitpython-0:3.1.59-1.el8ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.59-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.59-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | automation-controller-0:4.7.17-1.el9ap | * |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-gitpython-0:3.1.62-1.el8pc | * |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-gitpython-0:3.1.62-1.el8pc | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.19 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Satellite 6.19 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.62-1.el9pc | * |
| Red Hat Ansible Automation Platform 2.6 | RedHat | ansible-automation-platform-26/controller-rhel9:1789673739 | * |
| Red Hat Ansible Automation Platform 2.6 | RedHat | ansible-automation-platform-26/hub-rhel9:1789611274 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/controller-rhel9:1788918363 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/hub-rhel9:1789572632 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-vmaas-rhel9:1789611858 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-vulnerability-engine-rhel9:1790820821 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-vmaas-rhel9:1789611998 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-vulnerability-engine-rhel9:1790821217 | * |
This could allow an attacker to access or modify system files or other files that are critical to the application. Path manipulation errors occur when the following two conditions are met:
For example, the program may give the attacker the ability to overwrite the specified file or run with a configuration controlled by the attacker.