7.5

CVE-2024-52006: Newline confusion in credential helpers can lead to credential exfiltration in git

Analyzed
AliasesALPINE-CVE-2024-52006UBUNTU-CVE-2024-52006DEBIAN-CVE-2024-52006
Published 14-01-2025Last modified 03-11-2025

Vulnerability summary

CVE-2024-52006 is a high (CVSS 7.5) Improper Encoding or Escaping of Output vulnerability in debian debian_linux. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 15 · Related 12

Timeline

  1. 14-01-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

1.03%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.03% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Alpine1 product
  • git≥ 2.41.0, < 2.40.4-r0 | ≥ 2.41.0, < 2.43.6-r0 | ≥ 2.41.0, < 2.45.3-r0 | ≥ 2.41.0, < 2.47.2-r0 | ≥ 2.41.0, < 2.48.1-r0 | < 2.40.4-r0 | ≥ 2.43.0, < 2.43.6-r0 | ≥ 2.44.3, < 2.45.3-r0 | ≥ 2.47.0, < 2.47.2-r0 | ≥ 2.47.0, < 2.48.1-r0
Chainguard1 product
  • git< 2.48.1-r0
Git1 product
  • git≤ 2.40.3 | ≥ 2.41.0, ≤ 2.41.2 | ≥ 2.42.0, ≤ 2.42.3 | ≥ 2.43.0, ≤ 2.43.5 | ≥ 2.44.0, ≤ 2.44.2 | ≥ 2.45.0, ≤ 2.45.2 | ≥ 2.46.0, ≤ 2.46.2 | = 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 | ≥ 2.45.3, < 2.45.3 | ≥ 2.46.3, < 2.46.3 | ≥ 2.47.0, < 2.47.2 | 2.48.0
Ubuntu1 product
  • git< 1:2.7.4-0ubuntu1.10+esm13 | < 1:2.17.1-1ubuntu0.18+esm6 | < 1:2.25.1-1ubuntu3.14 | < 1:2.34.1-1ubuntu1.12 | < 1:2.43.0-1ubuntu7.2
Wolfi1 product
  • git< 2.48.1-r0

6 vendors · 7 products

References

15 links
Show all 15 references