CVE-2024-52005CWE-116CWE-150

The sideband payload is passed unfiltered to the terminal in git

High · published January 15, 2025

CVSS v4.0
7.5
EPSS
1%
Percentile
42.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.5 · HIGH
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
EPSS
0.00509 · 42.6th percentile
Weaknesses
CWE-116 · Improper Encoding or Escaping of Output; CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences
Published
2025-01-15T17:35Z
EPSS history
Timeline
  • 15 JAN 17:35Z
    The sideband payload is passed unfiltered to the terminal in git
    cvelistv5