GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Pythons configparser without validating for newlines. GitPythons own _write() converts embedded newlines into indented continuation lines (e.g. n becomes nt), but Git still accepts an indented [core] stanza as a section header — so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.
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.49 (excluding) |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | python3.12-gitpython-0:3.1.50-1.el8ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.50-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.50-1.el9ap | * |
| Red Hat Satellite 6.19 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.59-1.el9pc | * |
| Red Hat Satellite 6.19 for RHEL 9 | RedHat | python3.12-gitpython-0:3.1.59-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/hub-rhel9:1783979593 | * |
| 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:1787220257 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/hub-rhel9:1788918708 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1788315638 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1788185839 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1788185798 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1788185733 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1788185436 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1788185842 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1788185848 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1788186007 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1788185846 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1788185899 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1787073866 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1787073873 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1787073459 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1787073611 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1787073451 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1787073451 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cpu-torch210-py312-rhel9:1787076778 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cuda130-torch210-py312-rhel9:1787077779 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-rocm64-torch291-py312-rhel9:1787076481 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-training-cuda128-torch29-py312-rhel9:1786611803 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1787074331 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1787073913 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1787074078 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1787073929 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1787073605 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1787073546 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1787073717 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1787073713 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1787073593 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-vmaas-rhel9:1789611858 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-vulnerability-engine-rhel9:1789637082 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-vulnerability-engine-rhel9:1789607605 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-vmaas-rhel9:1789611998 | * |
| Python-git | Ubuntu | devel | * |
| Python-git | Ubuntu | esm-apps-legacy/xenial | * |
| Python-git | Ubuntu | esm-apps/bionic | * |
| Python-git | Ubuntu | esm-apps/focal | * |
| Python-git | Ubuntu | esm-apps/jammy | * |
| Python-git | Ubuntu | esm-apps/noble | * |
| Python-git | Ubuntu | esm-apps/resolute | * |
| Python-git | Ubuntu | esm-apps/xenial | * |
| Python-git | Ubuntu | esm-infra-legacy/trusty | * |
| Python-git | Ubuntu | jammy | * |
| Python-git | Ubuntu | noble | * |
| Python-git | Ubuntu | questing | * |
| Python-git | Ubuntu | resolute | * |
| Python-git | Ubuntu | upstream | * |