GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Gitpython | Gitpython_project | * | 3.1.60 (excluding) |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | automation-controller-0:4.6.33-1.el8ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | python3.12-gitpython-0:3.1.60-1.el8ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | automation-controller-0:4.6.33-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.60-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | automation-controller-0:4.7.17-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.60-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.5 | RedHat | ansible-automation-platform-25/controller-rhel8:1789607021 | * |
| Red Hat Ansible Automation Platform 2.6 | RedHat | ansible-automation-platform-26/controller-rhel9:1789673739 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/controller-rhel9:1789580684 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/hub-rhel9:1792388670 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-feature-server-rhel9:1792148523 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-feature-server-rhel9:1791863220 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mlflow-rhel9:1791865967 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cpu-torch210-py312-rhel9:1791874335 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cuda130-torch210-py312-rhel9:1791961113 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-rocm64-torch291-py312-rhel9:1791872119 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-training-cuda128-torch29-py312-rhel9:1791786619 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791952873 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791816462 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791816487 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1791951049 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1791951047 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1791950760 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-th-torch-cpu-py312-rhel9:1791926611 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-th-torch-cuda-py312-rhel9:1791927642 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-th-torch-rocm-py312-rhel9:1791925861 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-training-cuda128-torch29-py312-rhel9:1791927231 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791825469 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1791903880 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1791572098 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1791572144 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1791572102 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1791817064 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1791817844 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1791816223 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1791899290 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1791816175 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1791816316 | * |
| 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 | * |
| Python-git | Ubuntu | upstream | * |