Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-48384
July 08, 2025
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.
Affected Packages
https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.50.0 <v2.50.1
Fix Suggestion:
Update to version v2.50.1
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.45.0 <v2.45.4
Fix Suggestion:
Update to version v2.45.4
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.48.0 <v2.48.2
Fix Suggestion:
Update to version v2.48.2
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.44.0 <v2.44.4
Fix Suggestion:
Update to version v2.44.4
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.46.0 <v2.46.4
Fix Suggestion:
Update to version v2.46.4
https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.49.0 <v2.49.1
Fix Suggestion:
Update to version v2.49.1
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.47.0 <v2.47.3
Fix Suggestion:
Update to version v2.47.3
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v0.99 <v2.43.7
Fix Suggestion:
Update to version v2.43.7
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
Exploit Maturity
ATTACKED
CVSS v3
Base Score:
8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Exploit Maturity
HIGH
Weakness Type (CWE)
Interpretation Conflict
Improper Link Resolution Before File Access ('Link Following')
EPSS
Base Score:
0.34