Vulnerabilities

CVE-2024-52005

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-01-15
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.5 % higher than 40 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Git Git ≤ 2.40.4 Affected
Git Git ≥ 2.41.0, ≤ 2.41.3 Affected
Git Git ≥ 2.42.0, ≤ 2.42.4 Affected
Git Git ≥ 2.43.0, ≤ 2.43.6 Affected
Git Git ≥ 2.44.0, ≤ 2.44.3 Affected
Git Git ≥ 2.45.0, ≤ 2.45.3 Affected
Git Git ≥ 2.46.0, ≤ 2.46.3 Affected
Git Git ≥ 2.47.0, ≤ 2.47.1 Affected
Git Git ≥ 2.48.0, ≤ 2.48.1 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities