CVE-2024-52005

HIGH CVSS 4.0: 7.5 EPSS 0.51%
Updated Dec 18, 2025
Git
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 2.41.0 — 2.48.1
Type CWE-116 (Improper Encoding or Escaping of Output), CWE-150
Vendor Git
Public PoC No

Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output.

Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list.

Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 9

Configuration From (including) Up to (excluding)
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
— <= 2.40.4
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.41.0 <= 2.41.3
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.42.0 <= 2.42.4
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.43.0 <= 2.43.6
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.44.0 <= 2.44.3
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.45.0 <= 2.45.3
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.46.0 <= 2.46.3
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.47.0 <= 2.47.1
Git Git
cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
2.48.0 <= 2.48.1