CVE-2024-50349 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. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expe...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality 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. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are 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-50349 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-218819-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/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
A medium severity vulnerability affects Debian systems (CVE-2024-50349). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
Vulnerability details: 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. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contai CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N.
Questions
What is CVE-2024-50349?
A medium severity vulnerability affects Debian systems (CVE-2024-50349). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
What is the CVSS score for CVE-2024-50349?
CVE-2024-50349 has CVSS 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N. EPSS: 1.0%.
Is CVE-2024-50349 actively exploited?
No confirmed active exploitation of CVE-2024-50349 as of 2026-09-25.
How do I remediate CVE-2024-50349?
Priority: LOW. PSIRT: [email protected]
What systems are affected by CVE-2024-50349?
CVE-2024-50349 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.