Vulnerability · Published Jan 15, 2025 · Assigned by GitHub_M

CVE-2024-52005The sideband payload is passed unfiltered to the terminal in git

High 7.5

In plain English

A high-severity security flaw in git from git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.5High
Exploit odds (30 days)0.5%top 56.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10git2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-all2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-all2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-all2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-core2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-core2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-core2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-core-doc2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-core-doc2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-core-doc2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-credential-libsecret2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-credential-libsecret2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-credential-libsecret2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-daemon2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-daemon2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-daemon2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-email2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-email2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-email2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-gui2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-gui2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-gui2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-instaweb2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-instaweb2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-instaweb2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-subtree2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-subtree2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-subtree2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10git-svn2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8git-svn2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9git-svn2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10gitk2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8gitk2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9gitk2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10gitweb2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8gitweb2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9gitweb2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10perl-Git2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8perl-Git2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9perl-Git2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux:10perl-Git-SVN2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux:8perl-Git-SVN2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux:9perl-Git-SVN2.47.1-2.el9_6ALSA-2025:7409
Debian:12gitno fix listedDEBIAN-CVE-2024-52005
Debian:13gitno fix listedDEBIAN-CVE-2024-52005
Debian:14gitno fix listedDEBIAN-CVE-2024-52005
Rocky Linux:10git0:2.47.1-2.el10_0RLSA-2025:7482
Rocky Linux:8git0:2.43.5-3.el8_10RLSA-2025:8414
Rocky Linux:9git0:2.47.1-2.el9_6RLSA-2025:7409
Ubuntu:22.04:LTSgitno fix listedUBUNTU-CVE-2024-52005
Ubuntu:24.04:LTSgitno fix listedUBUNTU-CVE-2024-52005
Ubuntu:25.10gitno fix listedUBUNTU-CVE-2024-52005
Ubuntu:26.04:LTSgitno fix listedUBUNTU-CVE-2024-52005
Ubuntu:26.10gitno fix listedUBUNTU-CVE-2024-52005

Affected products (as reported)

VendorProductVersions
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>= 2.42.0, <= 2.42.4>= 2.41.0, <= 2.41.3

Weakness: CWE-116, CWE-150 · Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References