CVE-2025-48384
Publication date 8 July 2025
Last updated 10 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
git | 25.04 plucky |
Fixed 1:2.48.1-0ubuntu1.1
|
24.04 LTS noble |
Fixed 1:2.43.0-1ubuntu7.3
|
|
22.04 LTS jammy |
Fixed 1:2.34.1-1ubuntu1.13
|
|
20.04 LTS focal |
Fixed 1:2.25.1-1ubuntu3.14+esm1
|
|
18.04 LTS bionic |
Fixed 1:2.17.1-1ubuntu0.18+esm2
|
|
16.04 LTS xenial |
Fixed 1:2.7.4-0ubuntu1.10+esm9
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | High |
Privileges required | Low |
User interaction | Required |
Scope | Changed |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7626-1
- Git vulnerabilities
- 8 July 2025