Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-52005

The sideband payload is passed unfiltered to the terminal in git

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

git git

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

References