VDB

CVE-2024-52005

CVE-2024-52005 PUBLISHED CVSS 7.5 HIGH

The sideband payload is passed unfiltered to the terminal in git

Reported by github_m · Published January 15, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perl-GitAmazon Linux2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3
gitAmazon Linux2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3
gitkAmazon Linux2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3
git-p4Amazon Linux2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3
gitBitnami2.48.2, 2.47.2, 2.46.4, 2.45.4, 2.44.4, 2.43.7, 2.42.5, 2.41.4, 2.40.5
git-emailAmazon Linux2.47.1-1.amzn2.0.3
gitChainguard2.49.0-r0
git-instawebAmazon Linux2.47.1-1.amzn2.0.3
git-coreAmazon Linux2.47.1-1.amzn2023.0.3
git-daemonAmazon Linux2.47.1-1.amzn2.0.3
gitWolfi2.49.0-r0
git-subtreeAmazon Linux2.47.1-1.amzn2.0.3

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
7.5
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

Affected products

VendorProductVersions
gitgit>= 2.48.0, <= 2.48.1, >= 2.47.0, <= 2.47.1, >= 2.46.0, <= 2.46.3
amazon:2perl-Git0
amazon:2git0
amazon:2023gitk0
amazon:2git-p40
amazon:2023git0
amazon:2gitk0
amazon:2git-email0
chainguardgit0
amazon:2git-instaweb0
amazon:2023git-core0
amazon:2git-daemon0
wolfigit0
amazon:2023perl-Git0
amazon:2git-subtree0
amazon:2023git-cvs0
amazon:2023git-p40
amazon:2023perl-Git-SVN0
gitgit0, 2.48.0, 2.47.0
amazon:2023git-instaweb0

…and 18 more

Timeline

  • Jan 15, 2025 CVE Published
  • Jan 16, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 20, 2025 Coalition ESS Score (5 in total, the first dated here)
  • Dec 20, 2025 CVE Updated
  • Jan 1, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-52005
vulnetix vdb fixes CVE-2024-52005

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-52005/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›