cve.bz

CVE-2024-32004 Process Control

7.8 highEPSS 1.4%Fix available

High (7.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories from untrusted sources.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-114 Process Control
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-32004 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-32004?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-32004?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-32004 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
git-scm:gitbefore 2.39.4
git-scm:gitfrom 2.40.0 before 2.40.2
git-scm:gitfrom 2.42.0 before 2.42.2
git-scm:gitfrom 2.43.0 before 2.43.4
git-scm:git2.41.0
git-scm:git2.44.0
git-scm:git2.45.0
fedoraproject:fedora40
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10git1:2.20.1-2+deb10u9DLA-3844-1
Debian11git1:2.30.2-1+deb11u3DLA-3867-1
Debian12git1:2.39.5-0+deb12u1DEBIAN-CVE-2024-32004 DSA-5769-1
Debian13, 14git1:2.45.1-1DEBIAN-CVE-2024-32004
Ubuntu20.04:LTSgit1:2.25.1-1ubuntu3.12UBUNTU-CVE-2024-32004 USN-6793-1
Ubuntu22.04:LTSgit1:2.34.1-1ubuntu1.11UBUNTU-CVE-2024-32004 USN-6793-1
Ubuntu24.04:LTSgit1:2.43.0-1ubuntu7.1UBUNTU-CVE-2024-32004 USN-6793-1
UbuntuPro:16.04:LTSgit1:2.7.4-0ubuntu1.10+esm8USN-7023-1
UbuntuPro:18.04:LTSgit1:2.17.1-1ubuntu0.18+esm1UBUNTU-CVE-2024-32004 USN-7023-1
Red Hatenterprise_linux:8::appstreamgit, gitk, gitweb and 17 more0:2.43.5-1.el8_10RHSA-2024:4084
Red Hatenterprise_linux:9::appstreamgit, gitk, gitweb and 17 more0:2.43.5-1.el9_4RHSA-2024:4083
Red Hatrhel_aus:8.2::appstreamgit, gitk, gitweb and 16 more0:2.18.4-5.el8_2RHSA-2024:7701
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamgit, gitk, gitweb and 17 more0:2.27.0-5.el8_4RHSA-2024:6028
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgit, gitk, gitweb and 17 more0:2.31.8-3.el8_6RHSA-2024:6027
Red Hatrhel_e4s:9.0::appstreamgit, gitk, gitweb and 17 more0:2.31.1-6.el9_0RHSA-2024:6610
Red Hatrhel_eus:8.8::appstreamgit, gitk, gitweb and 17 more0:2.39.5-1.el8_8RHSA-2024:4579
Red Hatrhel_eus:9.2::appstreamgit, gitk, gitweb and 17 more0:2.39.5-1.el9_2RHSA-2024:4368
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moregit2.35.3-150300.10.39.1SUSE-SU-2024:1807-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2git2.26.2-150000.56.1SUSE-SU-2024:1854-1
SUSELinux Enterprise Micro 5.5git2.35.3-150300.10.39.1SUSE-SU-2024:1807-2
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6git2.43.0-150600.3.3.1SUSE-SU-2024:2277-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5git2.26.2-27.78.1SUSE-SU-2025:0197-1
SUSELinux Micro 6.0git2.45.1-1.1SUSE-SU-2025:20049-1
openSUSELeap 15.5git2.35.3-150300.10.39.1SUSE-SU-2024:1807-1
openSUSELeap 15.6git2.43.0-150600.3.3.1SUSE-SU-2024:2277-1
openSUSETumbleweedgit2.45.1-1.1openSUSE-SU-2024:13968-1
AlmaLinux8git, gitk, gitweb and 12 more2.43.5-1.el8_10ALSA-2024:4084
AlmaLinux9git, gitk, gitweb and 12 more2.43.5-1.el9_4ALSA-2024:4083
Rocky Linux8git0:2.43.5-1.el8_10RLSA-2024:4084
Rocky Linux9git0:2.43.5-1.el9_4RLSA-2024:4083
Alpinev3.17git2.39.5-r0ALPINE-CVE-2024-32004
Alpinev3.18git2.40.3-r0ALPINE-CVE-2024-32004
Alpinev3.19git2.43.4-r0ALPINE-CVE-2024-32004
Alpinev3.20, v3.21, v3.22 and 2 moregit2.45.1-r0ALPINE-CVE-2024-32004
Azure Linux2git2.39.4-1AZL-42022
Azure Linux3git2.45.2-1AZL-43041
Alpaquita23git2.38.5-r1BELL-CVE-2024-32004
Alpaquitastreamgit2.45.1-r0BELL-CVE-2024-32004

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; the Alpine secdb, CC BY-SA 4.0; 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 · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability, while significant, does not reach Critical severity due to its reliance on local repository manipulation. While it allows attackers to execute arbitrary code during cloning operations, its impact is constrained by the necessity for access to the target's local environment. Critical severity typically involves vulnerabilities that can be exploited remotely or without user interaction. Nonetheless, this issue remains Important as it can lead to unauthorized code execution, potentially compromising the integrity and security of affected systems.

Fuse 7 Karaf uses JGit to manage patches. It's heavily protected by file permissions and RBAC. Unless an attacker have write permissions to Fuse internal git repositories, this vulnerability is not exploitable.

Red Hat's mitigation

Exercise caution when cloning repositories from untrusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8git-0:2.43.5-1.el8_10Fixed 2024-06-25RHSA-2024:4084
Red Hat Enterprise Linux 8.2 Advanced Update Supportgit-0:2.18.4-5.el8_2Fixed 2024-10-07RHSA-2024:7701
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgit-0:2.27.0-5.el8_4Fixed 2024-08-29RHSA-2024:6028
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicegit-0:2.27.0-5.el8_4Fixed 2024-08-29RHSA-2024:6028
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsgit-0:2.27.0-5.el8_4Fixed 2024-08-29RHSA-2024:6028
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgit-0:2.31.8-3.el8_6Fixed 2024-08-29RHSA-2024:6027
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegit-0:2.31.8-3.el8_6Fixed 2024-08-29RHSA-2024:6027
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgit-0:2.31.8-3.el8_6Fixed 2024-08-29RHSA-2024:6027
Red Hat Enterprise Linux 8.8 Extended Update Supportgit-0:2.39.5-1.el8_8Fixed 2024-07-16RHSA-2024:4579
Red Hat Enterprise Linux 9git-0:2.43.5-1.el9_4Fixed 2024-06-25RHSA-2024:4083
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgit-0:2.31.1-6.el9_0Fixed 2024-09-11RHSA-2024:6610
Red Hat Enterprise Linux 9.2 Extended Update Supportgit-0:2.39.5-1.el9_2Fixed 2024-07-08RHSA-2024:4368
Red Hat Enterprise Linux 10gitNot affected
Red Hat Enterprise Linux 6gitOut of support scope
Red Hat Enterprise Linux 7gitNot affected
Red Hat Fuse 7gitOut of support scope
Red Hat Software Collectionsrh-git227-gitOut of support scope

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-32004.

Attack patterns (CAPEC)

  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-640 Inclusion of Code in Existing Process Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON