CVE-2024-52005
A public proof of concept exists; no exploitation attested.
- Published2025-01-15
- WeaknessCWE-116 · CWE-150
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-01-1518:15CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.40 | ≤ 2.40.4 | no fix published | NVD |
| 2.41 | ≥ 2.41.0, ≤ 2.41.3 | no fix published | NVD |
| 2.42 | ≥ 2.42.0, ≤ 2.42.4 | no fix published | NVD |
| 2.43 | ≥ 2.43.0, ≤ 2.43.6 | no fix published | NVD |
| 2.44 | ≥ 2.44.0, ≤ 2.44.3 | no fix published | NVD |
| 2.45 | ≥ 2.45.0, ≤ 2.45.3 | no fix published | NVD |
| 2.46 | ≥ 2.46.0, ≤ 2.46.3 | no fix published | NVD |
| 2.47 | ≥ 2.47.0, ≤ 2.47.1 | no fix published | NVD |
| 2.48 | ≥ 2.48.0, ≤ 2.48.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.48 | ≥ 2.48.0, < 2.48.2 | 2.48.2 | OSV |
| 2.47 | ≥ 2.47.0, < 2.47.2 | 2.47.2 | OSV |
| 2.46 | ≥ 2.46.0, < 2.46.4 | 2.46.4 | OSV |
| 2.45 | ≥ 2.45.0, < 2.45.4 | 2.45.4 | OSV |
| 2.44 | ≥ 2.44.0, < 2.44.4 | 2.44.4 | OSV |
| 2.43 | ≥ 2.43.0, < 2.43.7 | 2.43.7 | OSV |
| 2.42 | ≥ 2.42.0, < 2.42.5 | 2.42.5 | OSV |
| 2.41 | ≥ 2.41.0, < 2.41.4 | 2.41.4 | OSV |
| 2.40 | < 2.40.5 | 2.40.5 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- gitAffected
- = >= 2.48.0, <= 2.48.1no fix stated
- = >= 2.47.0, <= 2.47.1no fix stated
- = >= 2.46.0, <= 2.46.3no fix stated
- = >= 2.45.0, <= 2.45.3no fix stated
- = >= 2.44.0, <= 2.44.3no fix stated
- = >= 2.43.0, <= 2.43.6no fix stated
- = >= 2.42.0, <= 2.42.4no fix stated
- = >= 2.41.0, <= 2.41.3no fix stated
1 more version line in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-01-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- gitUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- gitUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- gitUbuntu:26.10all versions · no fixed version listed
- gitUbuntu:26.04:LTSall versions · no fixed version listed
- gitUbuntu:25.10all versions · no fixed version listed
- gitUbuntu:24.04:LTSall versions · no fixed version listed
- gitUbuntu:22.04:LTSall versions · no fixed version listed
30 more package ranges on OSV.dev
Vendor advisories
git: The sideband payload is passed unfiltered to the terminal in git
emacs-git as a component of Red Hat Enterprise Linux 6 · emacs-git-el as a component of Red Hat Enterprise Linux 6 · git as a component of Red Hat Enterprise Linux 6 · +32 more
Red Hat Security Advisory: git security update
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
1 more advisory
Fix
- Vendor fix Red Hat Product Security RHSA-2025:8414 · 51 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:8385 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
- Workaround from the vendor Red Hat Product Security RHSA-2025:8414 · 51 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-52005 · 14 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2024-52005 · 21 productsWill not fix
Advisories and patches
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01andrewd-cg/cve-2024-52005-poc
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-01-15
- CNACVSS 4.07.5known since 2026-10-23
- NVDCVSS 3.18.8read 2026-10-23
- CNAweakness (CWE)CWE-116, CWE-150known since 2026-10-23
- FIRST EPSSEPSS score0.5 %2026-11-15
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-56370same flawAzure Linux · MIT
- AZL-56373same flawAzure Linux · MIT
- BIT-git-2024-52005same flawBitnami · Apache-2.0
- CGA-8552-v43m-wxh9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v4rh-fwpp-vfj2same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-46250same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7jjc-gg6m-3329same flawGitHub Advisory Database · CC-BY-4.0
- MINI-8f3x-wm75-6446same flawMinimOS · LicenseRef-unstated
- ALSA-2025:7409advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:7482advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:8414advisory covering several CVEsAlmaLinux · MIT
- OESA-2025-1115advisory covering several CVEsopenEuler · LicenseRef-unstated
- RHSA-2025:7409advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:7482advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:7640advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:7641advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8414advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:7409advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:7482advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:8414advisory covering several CVEsRocky Linux · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2025-01-15
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-7jjc-gg6m-3329
Frequently asked questions
What is CVE-2024-52005?
Is CVE-2024-52005 actively exploited?
What is the CVSS score for CVE-2024-52005?
Running git? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-48384KEVsame productGit allows arbitrary code execution through broken config quoting
- CVE-2024-32002same productGit's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
- CVE-2020-5260same product
- CVE-2022-25648same product
- CVE-2022-24975same product
- CVE-2024-32004same productGit vulnerable to Remote Code Execution while cloning special-crafted local repositories
- CVE-2018-1000021same product
- CVE-2024-52006same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7jjc-gg6m-3329
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0