Vulnerability CVE-2025-48384: Information
Description
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.
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
|---|---|---|---|---|---|---|
| git | sisyphus | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9093-3 | 379199 | Fixed |
| git | sisyphus_e2k | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-10768-1 | - | Fixed |
| git | sisyphus_riscv64 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9180-1 | - | Fixed |
| git | sisyphus_loongarch64 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9130-1 | - | Fixed |
| git | p11 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9420-3 | 390129 | Fixed |
| git | p10 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-10893-3 | 393262 | Fixed |
| git | p10_e2k | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-11710-1 | - | Fixed |
| git | c10f2 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9642-3 | 390731 | Fixed |
| git | c9f2 | 2.50.1-alt1 | 2.50.1-alt1 | ALT-PU-2025-9640-3 | 390732 | Fixed |
| gitlab-runner | sisyphus | 18.10.1-alt1 | 18.10.1-alt1 | ALT-PU-2026-5804-1 | 414439 | Fixed |
| gitlab-runner | sisyphus_riscv64 | 18.10.1-alt1 | 18.10.1-alt1 | ALT-PU-2026-5845-1 | - | Fixed |
| gitlab-runner | sisyphus_loongarch64 | 18.10.1-alt1 | 18.10.1-alt1 | ALT-PU-2026-5913-1 | - | Fixed |
| gitlab-runner | c10f2 | 18.10.1-alt1 | 18.10.1-alt1 | ALT-PU-2026-5808-2 | 414452 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
|---|---|
| https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9 |
|
| http://seclists.org/fulldisclosure/2025/Sep/60 |
|
| http://www.openwall.com/lists/oss-security/2025/07/08/4 |
|
| https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html |
|
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384 |
|
| BDU:2025-08691 |