CVEfocus › CVE database › CVE-2024-52005

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

CVSS 7.5 HighEPSS 0.5% (higher than 44% of CVEs)Published 2025-01-15Updated 2025-01-15Assigner: GitHub_M

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.

CWE-116CWE-150

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

93Fixed
7Fix pending
34Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 26.04gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 25.10gitWill not fix
as of 2025-02-26, there is no upstream fix for this issue. See mailing list discussion link.
UBUNTU-CVE-2024-52005
Ubuntu 24.04gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 22.04gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 20.04gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 18.04gitFix pendingUBUNTU-CVE-2024-52005
Ubuntu 16.04gitFix pendingUBUNTU-CVE-2024-52005
Debian 14gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-52005
Debian 13gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-52005
Debian 12gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-52005
Red Hat Enterprise Linux 10gitFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-allFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-coreFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-core-docFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-credential-libsecretFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-daemonFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-emailFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-guiFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-instawebFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-subtreeFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10git-svnFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10gitkFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10gitwebFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10perl-GitFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 10perl-Git-SVNFixed0:2.47.1-2.el10_0RHSA-2025:7482
Red Hat Enterprise Linux 9gitFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-allFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-coreFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-core-docFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-credential-libsecretFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-daemonFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-emailFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-guiFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-instawebFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-subtreeFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9git-svnFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9gitkFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9gitwebFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9perl-GitFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 9perl-Git-SVNFixed0:2.47.1-2.el9_6RHSA-2025:7409
Red Hat Enterprise Linux 8gitFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-allFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-coreFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-core-docFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-credential-libsecretFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-daemonFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-emailFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-guiFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-instawebFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-subtreeFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8git-svnFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8gitkFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8gitwebFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8perl-GitFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 8perl-Git-SVNFixed0:2.43.5-3.el8_10RHSA-2025:8414
Red Hat Enterprise Linux 7emacs-gitWill not fix
Will not fix
Red Hat Enterprise Linux 7emacs-git-elWill not fix
Will not fix
Red Hat Enterprise Linux 7gitWill not fix
Will not fix
Red Hat Enterprise Linux 7git-allWill not fix
Will not fix
Red Hat Enterprise Linux 7git-bzrWill not fix
Will not fix
Red Hat Enterprise Linux 7git-cvsWill not fix
Will not fix
Red Hat Enterprise Linux 7git-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 7git-emailWill not fix
Will not fix
Red Hat Enterprise Linux 7git-gnome-keyringWill not fix
Will not fix
Red Hat Enterprise Linux 7git-guiWill not fix
Will not fix
Red Hat Enterprise Linux 7git-hgWill not fix
Will not fix
Red Hat Enterprise Linux 7git-instawebWill not fix
Will not fix
Red Hat Enterprise Linux 7git-p4Will not fix
Will not fix
Red Hat Enterprise Linux 7git-svnWill not fix
Will not fix
Red Hat Enterprise Linux 7gitkWill not fix
Will not fix
Red Hat Enterprise Linux 7gitwebWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-GitWill not fix
Will not fix
Red Hat Enterprise Linux 7perl-Git-SVNWill not fix
Will not fix
Red Hat Enterprise Linux 6emacs-gitWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-git-elWill not fix
Out of support scope
Red Hat Enterprise Linux 6gitWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-allWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-cvsWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-daemonWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-emailWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6git-svnWill not fix
Out of support scope
Red Hat Enterprise Linux 6gitkWill not fix
Out of support scope
Red Hat Enterprise Linux 6gitwebWill not fix
Out of support scope
Red Hat Enterprise Linux 6perl-GitWill not fix
Out of support scope
AlmaLinux 10gitFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-allFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-coreFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-core-docFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-credential-libsecretFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-daemonFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-emailFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-guiFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-instawebFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-subtreeFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10git-svnFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10gitkFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10gitwebFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10perl-GitFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 10perl-Git-SVNFixed2.47.1-2.el10_0ALSA-2025:7482
AlmaLinux 9gitFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-allFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-coreFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-core-docFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-credential-libsecretFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-daemonFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-emailFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-guiFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-instawebFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-subtreeFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9git-svnFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9gitkFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9gitwebFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9perl-GitFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 9perl-Git-SVNFixed2.47.1-2.el9_6ALSA-2025:7409
AlmaLinux 8gitFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-allFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-coreFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-core-docFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-credential-libsecretFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-daemonFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-emailFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-guiFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-instawebFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-subtreeFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8git-svnFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8gitkFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8gitwebFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8perl-GitFixed2.43.5-3.el8_10ALSA-2025:8414
AlmaLinux 8perl-Git-SVNFixed2.43.5-3.el8_10ALSA-2025:8414
Rocky Linux 10gitFixed0:2.47.1-2.el10_0RLSA-2025:7482
Rocky Linux 9gitFixed0:2.47.1-2.el9_6RLSA-2025:7409
Rocky Linux 8gitFixed0:2.43.5-3.el8_10RLSA-2025:8414

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.