High severity · published Jan 15, 2025
CVE-2024-52005
Git is a source code management tool
8.8
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Git · Git
through 2.40.4; 2.41.0 through 2.41.3; 2.42.0 through 2.42.4; 2.43.0 through 2.43.6; 2.44.0 through 2.44.3; 2.45.0 through 2.45.3; +3 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-52005
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-52005
Vendor Advisory
https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329
Mailing List
https://lore.kernel.org/git/1M9FnZ-1taoNo1wwh-00ESSd@mail.gmx.net
More from Git
8.0
CVE-2025-48384
Git allows arbitrary code execution through broken config quoting
9.8
CVE-2022-25648
The package git before 1.11.0 are vulnerable to Command Injection via git argument injection
9.0
CVE-2024-32002
Git is a revision control system
8.8
CVE-2022-39260
Git vulnerable to Remote Code Execution via Heap overflow in `git shell`
7.5
CVE-2024-52006
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
