CVEvulnerability

CVE-2024-52005

7.5 HIGH Published 2025-01-15 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-01-15
Last modified
2026-06-17
Assigner
[email protected]
CVSS 4.0 ([email protected])
7.5 HIGH — 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
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-116, CWE-150

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 configurations

• git git (<= 2.40.4) • git git (>= 2.41.0 <= 2.41.3) • git git (>= 2.42.0 <= 2.42.4) • git git (>= 2.43.0 <= 2.43.6) • git git (>= 2.44.0 <= 2.44.3) • git git (>= 2.45.0 <= 2.45.3) • git git (>= 2.46.0 <= 2.46.3) • git git (>= 2.47.0 <= 2.47.1) • git git (>= 2.48.0 <= 2.48.1)

Related

Weakness · CWE (2)

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

References