CVSS 4.0
7.5 highCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NHigh (7.5) in git git. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2024-52005 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52005?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52005?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52005 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| git:git | through 2.40.4 |
| git:git | from 2.41.0 through 2.41.3 |
| git:git | from 2.42.0 through 2.42.4 |
| git:git | from 2.43.0 through 2.43.6 |
| git:git | from 2.44.0 through 2.44.3 |
| git:git | from 2.45.0 through 2.45.3 |
| git:git | from 2.46.0 through 2.46.3 |
| git:git | from 2.47.0 through 2.47.1 |
| git:git | from 2.48.0 through 2.48.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | git | no fix listed | DEBIAN-CVE-2024-52005 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 5 more | git | no fix listed | UBUNTU-CVE-2024-52005 |
| Red Hat | enterprise_linux:8::appstream | git, gitk, gitweb and 17 more | 0:2.43.5-3.el8_10 | RHSA-2025:8414 |
| Red Hat | enterprise_linux:9::appstream | git, gitk, gitweb and 17 more | 0:2.47.1-2.el9_6 | RHSA-2025:7409 |
| Red Hat | enterprise_linux:10.0 | git, gitk, gitweb and 17 more | 0:2.47.1-2.el10_0 | RHSA-2025:7482 |
| Red Hat | rhel_eus:9.2::appstream | git, gitk, gitweb and 17 more | 0:2.39.5-1.el9_2.1 | RHSA-2025:7641 |
| Red Hat | rhel_eus:9.4::appstream | git, gitk, gitweb and 17 more | 0:2.43.5-1.el9_4.1 | RHSA-2025:7640 |
| openSUSE | Tumbleweed | python-dulwich | 1.2.21-1.1 | openSUSE-SU-2026:12603-1 |
| AlmaLinux | 8 | git, gitk, gitweb and 12 more | 2.43.5-3.el8_10 | ALSA-2025:8414 |
| AlmaLinux | 9 | git, gitk, gitweb and 12 more | 2.47.1-2.el9_6 | ALSA-2025:7409 |
| AlmaLinux | 10 | git, gitk, gitweb and 12 more | 2.47.1-2.el10_0 | ALSA-2025:7482 |
| Rocky Linux | 8 | git | 0:2.43.5-3.el8_10 | RLSA-2025:8414 |
| Rocky Linux | 9 | git | 0:2.47.1-2.el9_6 | RLSA-2025:7409 |
| Rocky Linux | 10 | git | 0:2.47.1-2.el10_0 | RLSA-2025:7482 |
| Azure Linux | 2 | git | no fix listed | AZL-56373 |
| Azure Linux | 3 | git | no fix listed | AZL-56370 |
| Alpaquita | 23, stream | git | no fix listed | BELL-CVE-2024-52005 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita.
Red Hat rates this Moderate.
This vulnerability is classified as moderate rather than important because it primarily affects informational messages rather than directly compromising repository integrity or executing arbitrary code. The issue arises from Git's failure to sanitize ANSI escape sequences in messages received over the sideband channel, which could allow a malicious remote repository to manipulate terminal output. However, exploitation requires user interaction, such as manually copying and executing misleading commands. Unlike higher-severity vulnerabilities, this does not provide direct unauthorized access, remote code execution, or privilege escalation, limiting its overall impact. The risk is further mitigated by best practices, such as avoiding recursive clones from untrusted sources.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | git-0:2.47.1-2.el10_0 | Fixed 2025-05-13 | RHSA-2025:7482 |
| Red Hat Enterprise Linux 8 | git-0:2.43.5-3.el8_10 | Fixed 2025-06-03 | RHSA-2025:8414 |
| Red Hat Enterprise Linux 9 | git-0:2.47.1-2.el9_6 | Fixed 2025-05-13 | RHSA-2025:7409 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | git-0:2.39.5-1.el9_2.1 | Fixed 2025-05-15 | RHSA-2025:7641 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | git-0:2.43.5-1.el9_4.1 | Fixed 2025-05-15 | RHSA-2025:7640 |
| Red Hat Discovery 1.14 | discovery/discovery-server-rhel9:1.14.3-1748529279 | Fixed 2025-06-02 | RHSA-2025:8385 |
| Red Hat Enterprise Linux 6 | git | Out of support scope | |
| Red Hat Enterprise Linux 7 | git | Will not fix | |
| Red Hat Fuse 7 | io.syndesis-syndesis-parent | Out of support scope | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52005.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.