vulnerability
Ubuntu: USN-7626-1 (CVE-2025-48384): Git vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:H/Au:S/C:C/I:C/A:C) | Jul 8, 2025 | Jul 9, 2025 | Apr 16, 2026 |
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.
Solutions
References
- CVE-2025-48384
- https://attackerkb.com/topics/CVE-2025-48384
- CWE-436
- CWE-59
- EUVD-EUVD-2025-20677
- UBUNTU-USN-7626-1
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-20677
- https://ubuntu.com/security/notices/USN-7626-1
- https://www.cve.org/CVERecord?id=CVE-2025-48384
- https://www.openwall.com/lists/oss-security/2025/07/08/4
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.