CVE-2024-52006 in Debian Linux and 1 more product
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...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Git | Git | 2.48.0 < 2.40.4 ≥ 2.41.0, < 2.41.3 ≥ 2.42.0, < 2.42.4 ≥ 2.43.0, < 2.43.6 ≥ 2.44.3, < 2.44.3+3 more≥ 2.45.3, < 2.45.3 ≥ 2.46.3, < 2.46.3 ≥ 2.47.0, < 2.47.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-52006 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-220028-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2025-01-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-116: CWE-116
CWE-147: CWE-147
CWE-150: CWE-150
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-150
CAPEC-81 Web Server Logs Tampering via CWE-116, CWE-150
CAPEC-85 AJAX Footprinting via CWE-116
CAPEC-93 Log Injection-Tampering-Forging via CWE-150
CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-147
Show all 8
CAPEC-73 User-Controlled Filename via CWE-116
CAPEC-104 Cross Zone Scripting via CWE-116
CAPEC-134 Email Injection via CWE-150
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-52006 affects Git by misinterpreting single Carriage Return characters as newlines in the line-based protocol, potentially leading to unauthorized access or command injection in ecosystems like .NET and node.js.
An attacker could exploit this vulnerability by injecting malicious commands into the Git credential helper communication, which could be executed with the privileges of the user running Git.
Questions
What is CVE-2024-52006?
CVE-2024-52006 affects Git by misinterpreting single Carriage Return characters as newlines in the line-based protocol, potentially leading to unauthorized access or command injection in ecosystems like .NET and node.js.
What is the CVSS score for CVE-2024-52006?
CVE-2024-52006 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.1%.
Is CVE-2024-52006 actively exploited?
No confirmed active exploitation of CVE-2024-52006 as of 2026-09-25.
How do I remediate CVE-2024-52006?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-52006?
CVE-2024-52006 affects Debian Debian Linux; Git Git.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.