CVE-2024-52005
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perl-Git | Amazon Linux | 2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3 |
| git | Amazon Linux | 2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3 |
| gitk | Amazon Linux | 2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3 |
| git-p4 | Amazon Linux | 2.47.1-1.amzn2023.0.3, 2.47.1-1.amzn2.0.3 |
| git | Bitnami | 2.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-email | Amazon Linux | 2.47.1-1.amzn2.0.3 |
| git | Chainguard | 2.49.0-r0 |
| git-instaweb | Amazon Linux | 2.47.1-1.amzn2.0.3 |
| git-core | Amazon Linux | 2.47.1-1.amzn2023.0.3 |
| git-daemon | Amazon Linux | 2.47.1-1.amzn2.0.3 |
| git | Wolfi | 2.49.0-r0 |
| git-subtree | Amazon Linux | 2.47.1-1.amzn2.0.3 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| git | git | >= 2.48.0, <= 2.48.1, >= 2.47.0, <= 2.47.1, >= 2.46.0, <= 2.46.3 |
| amazon:2 | perl-Git | 0 |
| amazon:2 | git | 0 |
| amazon:2023 | gitk | 0 |
| amazon:2 | git-p4 | 0 |
| amazon:2023 | git | 0 |
| amazon:2 | gitk | 0 |
| amazon:2 | git-email | 0 |
| chainguard | git | 0 |
| amazon:2 | git-instaweb | 0 |
| amazon:2023 | git-core | 0 |
| amazon:2 | git-daemon | 0 |
| wolfi | git | 0 |
| amazon:2023 | perl-Git | 0 |
| amazon:2 | git-subtree | 0 |
| amazon:2023 | git-cvs | 0 |
| amazon:2023 | git-p4 | 0 |
| amazon:2023 | perl-Git-SVN | 0 |
| git | git | 0, 2.48.0, 2.47.0 |
| amazon:2023 | git-instaweb | 0 |
…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
References
- https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329 x_refsource_CONFIRM
- https://lore.kernel.org/git/1M9FnZ-1taoNo1wwh-00ESSd@mail.gmx.net x_refsource_MISC