CVE-2024-52006
No exploitation reported by the sources we read.
- Published2025-01-14
- Fixed in2.48.1 · 2.47.2 · 2.46.3 · 2.45.3 · 2.44.3 · 2.43.6
- WeaknessCWE-116 · CWE-147 · 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 fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.
Timeline
dates in UTC- 2025-01-1419:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-52006?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-52006?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.48 | ≥ 2.48.0, < 2.48.1 | 2.48.1 | OSV |
| 2.47 | ≥ 2.47.0, < 2.47.2 | 2.47.2 | NVD · OSV |
| 2.46 | ≥ 2.46.3, < 2.46.3 | 2.46.3 | NVD |
| 2.46 | ≥ 2.46.0, < 2.46.3 | 2.46.3 | OSV |
| 2.45 | ≥ 2.45.3, < 2.45.3 | 2.45.3 | NVD |
| 2.45 | ≥ 2.45.0, < 2.45.3 | 2.45.3 | OSV |
| 2.44 | ≥ 2.44.3, < 2.44.3 | 2.44.3 | NVD |
| 2.44 | ≥ 2.44.0, < 2.44.3 | 2.44.3 | OSV |
| 2.43 | ≥ 2.43.0, < 2.43.6 | 2.43.6 | NVD · OSV |
| 2.42 | ≥ 2.42.0, < 2.42.4 | 2.42.4 | NVD · OSV |
| 2.41 | ≥ 2.41.0, < 2.41.3 | 2.41.3 | NVD · OSV |
| 2.40 | < 2.40.4 | 2.40.4 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
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
- gitAlmaLinux:9all versions · fixed in 2.47.3-1.el9_6and 14 other packages
- gitAlmaLinux:8all versions · fixed in 2.43.7-1.el8_10and 14 other packages
- perl-GitAlmaLinux:10all versions · fixed in 2.47.3-1.el10_0and 10 other packages
Fix
- Update Git to 2.48.1 · 2.47.2 · 2.46.3 · 2.45.3 · 2.44.3 · 2.43.6 · 2.42.4 · 2.41.3
Advisories and patches
- github.comPatch
- github.comPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/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-14
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2024-52006?
Is CVE-2024-52006 actively exploited?
What is the CVSS score for CVE-2024-52006?
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-2022-23521same product
- CVE-2023-25652same product
- CVE-2022-41903same product
- 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-2023-29007same product
- CVE-2022-25648same product