CVE-2024-52005The sideband payload is passed unfiltered to the terminal in git
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 26.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 25.10 | git | Will 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.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 22.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 20.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 18.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Ubuntu 16.04 | git | Fix pending | UBUNTU-CVE-2024-52005 | |
| Debian 14 | git | Will 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 13 | git | Will 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 12 | git | Will 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 10 | git | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-all | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-core | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-core-doc | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-credential-libsecret | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-daemon | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-email | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-gui | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-instaweb | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-subtree | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | git-svn | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | gitk | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | gitweb | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | perl-Git | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 10 | perl-Git-SVN | Fixed | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 9 | git | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-all | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-core | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-core-doc | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-credential-libsecret | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-daemon | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-email | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-gui | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-instaweb | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-subtree | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | git-svn | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | gitk | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | gitweb | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | perl-Git | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9 | perl-Git-SVN | Fixed | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 8 | git | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-all | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-core | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-core-doc | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-credential-libsecret | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-daemon | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-email | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-gui | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-instaweb | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-subtree | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | git-svn | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | gitk | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | gitweb | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | perl-Git | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 8 | perl-Git-SVN | Fixed | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 7 | emacs-git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-git-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-bzr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-cvs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-email | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gnome-keyring | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gui | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-hg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-instaweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-p4 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-svn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git-SVN | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-git | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | emacs-git-el | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-all | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-cvs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-daemon | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-email | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-gui | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-svn | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gitk | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gitweb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | perl-Git | Will not fix Out of support scope | ||
| AlmaLinux 10 | git | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-all | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-core | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-core-doc | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-credential-libsecret | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-daemon | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-email | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-gui | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-instaweb | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-subtree | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | git-svn | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | gitk | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | gitweb | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | perl-Git | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 10 | perl-Git-SVN | Fixed | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| AlmaLinux 9 | git | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-all | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-core | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-core-doc | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-credential-libsecret | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-daemon | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-email | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-gui | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-instaweb | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-subtree | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | git-svn | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | gitk | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | gitweb | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | perl-Git | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 9 | perl-Git-SVN | Fixed | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux 8 | git | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-all | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-core | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-core-doc | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-credential-libsecret | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-daemon | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-email | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-gui | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-instaweb | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-subtree | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | git-svn | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | gitk | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | gitweb | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | perl-Git | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux 8 | perl-Git-SVN | Fixed | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| Rocky Linux 10 | git | Fixed | 0:2.47.1-2.el10_0 | RLSA-2025:7482 |
| Rocky Linux 9 | git | Fixed | 0:2.47.1-2.el9_6 | RLSA-2025:7409 |
| Rocky Linux 8 | git | Fixed | 0:2.43.5-3.el8_10 | RLSA-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.
- git: affected: >= 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
References
- https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329
- https://lore.kernel.org/git/1M9FnZ-1taoNo1wwh-00ESSd@mail.gmx.net
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.