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 reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:11462 https://access.redhat.com/errata/RHSA-2025:11462
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:11533 https://access.redhat.com/errata/RHSA-2025:11533
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:11534 https://access.redhat.com/errata/RHSA-2025:11534
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:11686 https://access.redhat.com/errata/RHSA-2025:11686
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Extended Lifecycle Support Via RHSA-2025:11688 https://access.redhat.com/errata/RHSA-2025:11688
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Advanced Update Support Via RHSA-2025:11793 https://access.redhat.com/errata/RHSA-2025:11793
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2025:11795 https://access.redhat.com/errata/RHSA-2025:11795
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Via RHSA-2025:11796 https://access.redhat.com/errata/RHSA-2025:11796
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Via RHSA-2025:11800 https://access.redhat.com/errata/RHSA-2025:11800
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Via RHSA-2025:11794 https://access.redhat.com/errata/RHSA-2025:11794
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat Enterprise Linux 8.6 Telecommunications Update Service Via RHSA-2025:11801 https://access.redhat.com/errata/RHSA-2025:11801
This issue has been addressed in the following products: RHEL-8 based Middleware Containers Via RHSA-2025:13276 https://access.redhat.com/errata/RHSA-2025:13276
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:13325 https://access.redhat.com/errata/RHSA-2025:13325
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.19 Via RHSA-2025:13933 https://access.redhat.com/errata/RHSA-2025:13933
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:14059 https://access.redhat.com/errata/RHSA-2025:14059
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.15 Via RHSA-2025:14396 https://access.redhat.com/errata/RHSA-2025:14396
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.14 Via RHSA-2025:14853 https://access.redhat.com/errata/RHSA-2025:14853
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2025:14858 https://access.redhat.com/errata/RHSA-2025:14858
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.12 Via RHSA-2025:15308 https://access.redhat.com/errata/RHSA-2025:15308
This issue has been addressed in the following products: Red Hat Web Terminal 1.12 on RHEL 9 Via RHSA-2025:15827 https://access.redhat.com/errata/RHSA-2025:15827
This issue has been addressed in the following products: Red Hat Web Terminal 1.11 on RHEL 9 Via RHSA-2025:15828 https://access.redhat.com/errata/RHSA-2025:15828
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2025:15672 https://access.redhat.com/errata/RHSA-2025:15672