
CVE catalog
CVE-2024-52006
Git vulnerabilities
- Severity
- Medium · CVSS 4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.03% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | git | sid | 1:2.55.0-1 | fixed |
| Debian | git | forky | 1:2.53.0-1 | fixed |
| Debian | git | trixie | 1:2.47.3-0+deb13u1 | fixed |
| Debian | git | bookworm | 1:2.39.5-0+deb12u3 | fixed |
| Debian | git | bookworm-security | 1:2.39.5-0+deb12u2 | fixed |
| Ubuntu | git | noble | 1:2.39.5-0+deb12u2 | fixed |
| Ubuntu | git | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-all | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-cvs | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-daemon-run | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-daemon-sysvinit | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-doc | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-email | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-gui | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-man | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-mediawiki | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | git-svn | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | gitk | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Ubuntu | gitweb | noble | 1:2.43.0-1ubuntu7.2 | fixed |
| Alpine | git | 3.18 | 2.40.4-r0 | fixed |
| Alpine | git | 3.19 | 2.43.6-r0 | fixed |
| Alpine | git | 3.20 | 2.45.3-r0 | fixed |
| Alpine | git | 3.21 | 2.47.2-r0 | fixed |
| Alpine | git | 3.22 | 2.48.1-r0 | fixed |
| Alpine | git | 3.23 | 2.48.1-r0 | fixed |
| Alpine | git | 3.24 | 2.48.1-r0 | fixed |
| Ubuntu | git | pro | 1:2.14.1-1ubuntu4 | vulnerable |
| Ubuntu | git | pro | 1:2.15.1-1ubuntu2 | vulnerable |
| Ubuntu | git | pro | 1:2.17.0-1ubuntu1 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.1 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.3 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.4 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.5 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.6 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.7 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.8 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.9 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.10 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.11 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.12 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.13 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.14 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.15 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.16 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.17 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18+esm1 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18+esm2 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18+esm3 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18+esm4 | vulnerable |
| Ubuntu | git | pro | 1:2.17.1-1ubuntu0.18+esm6 | fixed |
| Ubuntu | git | 20.04 | 1:2.20.1-2ubuntu1 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.24.0-1ubuntu1 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.24.0-1ubuntu2 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.0-1ubuntu1 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu1 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu2 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.1 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.2 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.3 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.4 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.5 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.6 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.7 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.8 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.10 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.11 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.12 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.13 | vulnerable |
| Ubuntu | git | 20.04 | 1:2.25.1-1ubuntu3.14 | fixed |
| Ubuntu | git | 22.04 | 1:2.32.0-1ubuntu1 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.33.1-1ubuntu1 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.1 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.2 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.4 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.5 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.6 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.8 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.9 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.10 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.11 | vulnerable |
| Ubuntu | git | 22.04 | 1:2.34.1-1ubuntu1.12 | fixed |
| Ubuntu | git | 24.04 | 1:2.40.1-1ubuntu1 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu1 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu5 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu6 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu7 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu7.1 | vulnerable |
| Ubuntu | git | 24.04 | 1:2.43.0-1ubuntu7.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | git | source | sid | 1:2.47.2-0.1 | not yet assigned | Not reported | [1093042] |
| Debian | git | source | forky | 1:2.47.2-0.1 | not yet assigned | Not reported | [1093042] |
| Debian | git | source | trixie | 1:2.47.2-0.1 | not yet assigned | Not reported | [1093042] |
| Debian | git | source | bookworm | 1:2.39.5-0+deb12u2 | not yet assigned | Not reported | [1093042] |
| Ubuntu | git | deb | noble | 1:2.39.5-0+deb12u2 | Not reported | Not reported | Not reported |
| Ubuntu | git | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-all | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-cvs | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-daemon-run | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-daemon-sysvinit | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-doc | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-email | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-gui | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-man | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-mediawiki | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | git-svn | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | gitk | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Ubuntu | gitweb | deb | noble | 1:2.43.0-1ubuntu7.2 | Not reported | Not reported | Not reported |
| Alpine | git | apk | 3.18 | 2.40.4-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.19 | 2.43.6-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.20 | 2.45.3-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.21 | 2.47.2-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.22 | 2.48.1-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.23 | 2.48.1-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Alpine | git | apk | 3.24 | 2.48.1-r0 | Not reported | ALPINE-CVE-2024-52006 | Not reported |
| Ubuntu | git | deb | pro | 1:2.17.1-1ubuntu0.18+esm6 | Not reported | UBUNTU-CVE-2024-52006 | Not reported |
| Ubuntu | git | deb | 20.04 | 1:2.25.1-1ubuntu3.14 | Not reported | UBUNTU-CVE-2024-52006 | Not reported |
| Ubuntu | git | deb | 22.04 | 1:2.34.1-1ubuntu1.12 | Not reported | UBUNTU-CVE-2024-52006 | Not reported |
| Ubuntu | git | deb | 24.04 | 1:2.43.0-1ubuntu7.2 | Not reported | UBUNTU-CVE-2024-52006 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_11533.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-52006]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-52006]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-52006]
- [https://security-tracker.debian.org/tracker/CVE-2024-52006]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52006.json]
- [https://ubuntu.com/security/notices/USN-7207-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1905.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]