CVE-2024-52005

Name
CVE-2024-52005
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329
MISC https://lore.kernel.org/git/1M9FnZ-1taoNo1wwh-00ESSd@mail.gmx.net

Match rules

CPE URI Source package Min version Max version
git >= 2.48.0 <= 2.48.1
git >= 2.47.0 <= 2.47.1
git >= 2.46.0 <= 2.46.3
git >= 2.45.0 <= 2.45.3
git >= 2.44.0 <= 2.44.3
git >= 2.43.0 <= 2.43.6
git >= 2.42.0 <= 2.42.4
git >= 2.41.0 <= 2.41.3
git >= 0 <= 2.40.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
git edge-main 2.47.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
git edge-main 2.48.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
git edge-main 2.48.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable