Skip to content
Fencer Vulns
high 8.8

CVE-2024-52005 json

The sideband payload is passed unfiltered to the terminal in git

published 2025-01-15 21 mo ago modified 2026-09-08 2 mo ago also BIT-git-2024-52005 , EUVD-2024-46250 , GHSA-7jjc-gg6m-3329

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami git 2.40.5, 2.41.4, 2.42.5, 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.2, 2.48.2
  • git-scm git 2.40.5, 2.41.4, 2.42.5, 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.2, 2.48.2
  • git git 2.40.5, 2.41.4, 2.42.5, 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.2, 2.48.2
  • git_project git 2.40.5, 2.41.4, 2.42.5, 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.2, 2.48.2
  • git RHEL 8 2.43.5-3.el8_10
  • gitk RHEL 8 2.43.5-3.el8_10
  • gitweb RHEL 8 2.43.5-3.el8_10
  • git-all RHEL 8 2.43.5-3.el8_10
  • git-gui RHEL 8 2.43.5-3.el8_10
  • git-svn RHEL 8 2.43.5-3.el8_10
  • git-core RHEL 8 2.43.5-3.el8_10
  • perl-Git RHEL 8 2.43.5-3.el8_10

red hat advisories RHSA-2025:8414RHSA-2025:7640RHSA-2025:7641RHSA-2025:7482RHSA-2025:7409

  • git AlmaLinux 8 2.43.5-3.el8_10
  • gitk AlmaLinux 8 2.43.5-3.el8_10
  • gitweb AlmaLinux 8 2.43.5-3.el8_10
  • git-all AlmaLinux 8 2.43.5-3.el8_10
  • git-gui AlmaLinux 8 2.43.5-3.el8_10
  • git-svn AlmaLinux 8 2.43.5-3.el8_10
  • git-core AlmaLinux 8 2.43.5-3.el8_10
  • perl-Git AlmaLinux 8 2.43.5-3.el8_10

almalinux advisories ALSA-2025:8414ALSA-2025:7409ALSA-2025:7482

  • git Rocky Linux 9 2.47.1-2.el9_6
  • git Rocky Linux 10 2.47.1-2.el10_0
  • git Rocky Linux 8 2.43.5-3.el8_10

rocky linux advisories RLSA-2025:7409RLSA-2025:7482RLSA-2025:8414

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-52005 updated cvss 7.5

git: The sideband payload is passed unfiltered to the terminal in git

  • Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 git, gitk, git-hg, git-p4, gitweb, git-all, +12 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Fuse 7 io.syndesis-syndesis-parent io.syndesis-syndesis-parent
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Discovery 1.14 discovery 1.14.3-1748529279
    fixed: vendor fix RHSA-2025:8385
  • Red Hat Enterprise Linux AppStream (v. 8) git 2.43.5-3.el8_10, gitk 2.43.5-3.el8_10, gitweb 2.43.5-3.el8_10, git-all 2.43.5-3.el8_10, git-gui 2.43.5-3.el8_10, git-svn 2.43.5-3.el8_10, +8 more
    fixed: vendor fix RHSA-2025:8414
  • Red Hat Enterprise Linux AppStream (v. 9) git 2.47.1-2.el9_6, gitk 2.47.1-2.el9_6, gitweb 2.47.1-2.el9_6, git-all 2.47.1-2.el9_6, git-gui 2.47.1-2.el9_6, git-svn 2.47.1-2.el9_6, +8 more
    fixed: vendor fix RHSA-2025:7409
  • Red Hat Enterprise Linux AppStream (v. 10) git 2.47.1-2.el10_0, gitk 2.47.1-2.el10_0, gitweb 2.47.1-2.el10_0, git-all 2.47.1-2.el10_0, git-gui 2.47.1-2.el10_0, git-svn 2.47.1-2.el10_0, +8 more
    fixed: vendor fix RHSA-2025:7482
show 3 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) git 2.39.5-1.el9_2.1, gitk 2.39.5-1.el9_2.1, gitweb 2.39.5-1.el9_2.1, git-all 2.39.5-1.el9_2.1, git-gui 2.39.5-1.el9_2.1, git-svn 2.39.5-1.el9_2.1, +8 more
    fixed: vendor fix RHSA-2025:7641
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) git 2.43.5-1.el9_4.1, gitk 2.43.5-1.el9_4.1, gitweb 2.43.5-1.el9_4.1, git-all 2.43.5-1.el9_4.1, git-gui 2.43.5-1.el9_4.1, git-svn 2.43.5-1.el9_4.1, +8 more
    fixed: vendor fix RHSA-2025:7640
  • Red Hat Discovery 1.14 discovery 1.14.2-1748467619
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
21 mo ago

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 7.5 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
CNA 4.0 7.5 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami git
<2.40.5
>=2.41.0, <2.41.4
>=2.42.0, <2.42.5
>=2.43.0, <2.43.7
>=2.44.0, <2.44.4
>=2.45.0, <2.45.4
>=2.46.0, <2.46.4
>=2.47.0, <2.47.2
>=2.48.0, <2.48.2
2.40.5
2.41.4
2.42.5
2.43.7
2.44.4
2.45.4
2.46.4
2.47.2
2.48.2

Affected products

  • git git

Classification

Weakness
  • CWE-116 Improper Encoding or Escaping of Output
  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.