CVE-2024-52005

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductGit
PublishedJan 15, 2025
First seenJan 15, 2025

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
git gitv ≤ 2.40.4, 2.41.0 ≤ v ≤ 2.41.3, 2.42.0 ≤ v ≤ 2.42.4, 2.43.0 ≤ v ≤ 2.43.6, 2.44.0 ≤ v ≤ 2.44.3, 2.45.0 ≤ v ≤ 2.45.3, 2.46.0 ≤ v ≤ 2.46.3, 2.47.0 ≤ v ≤ 2.47.1, 2.48.0 ≤ v ≤ 2.48.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.