Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling recursive clones. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
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 Enterprise Linux 10 | RedHat | git-0:2.47.3-1.el10_0 | * |
Red Hat Enterprise Linux 8 | RedHat | git-0:2.43.7-1.el8_10 | * |
Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | git-0:2.39.5-1.el8_8.2 | * |
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | git-0:2.39.5-1.el8_8.2 | * |
Red Hat Enterprise Linux 9 | RedHat | git-0:2.47.3-1.el9_6 | * |
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | git-0:2.39.5-1.el9_2.2 | * |
Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | git-0:2.43.5-1.el9_4.2 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.13.5-4.1753280805 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-businesscentral-rhel8:7.13.5-4.1753280812 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-controller-rhel8:7.13.5-4.1752676933 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-dashbuilder-rhel8:7.13.5-3.1752676926 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-kieserver-rhel8:7.13.5-4.1752676932 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-operator-bundle:7.13.5-27 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-process-migration-rhel8:7.13.5-4.1752676925 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-rhel8-operator:7.13.5-2.1752676931 | * |
RHEL-8 based Middleware Containers | RedHat | rhpam-7/rhpam-smartrouter-rhel8:7.13.5-4.1752676930 | * |
Git | Ubuntu | devel | * |
Git | Ubuntu | noble | * |
Git | Ubuntu | oracular | * |
Git | Ubuntu | plucky | * |
Git | Ubuntu | upstream | * |
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.