High severity · published Jan 15, 2025
CVE-2024-52005
The sideband payload is passed unfiltered to the terminal in git
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
>= 2.48.0, <= 2.48.1; >= 2.47.0, <= 2.47.1; >= 2.46.0, <= 2.46.3; >= 2.45.0, <= 2.45.3; >= 2.44.0, <= 2.44.3; >= 2.43.0, <= 2.43.6; +3 more · source: vendor, 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's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
8.8
CVE-2022-39260
Git vulnerable to Remote Code Execution via Heap overflow in `git shell`
8.6
CVE-2025-48385
Git alllows arbitrary file writes via bundle-uri parameter injection
