CVE & CISA-KEV Catalog

CVE-2024-32004

HIGH
8.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
gitAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-allAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-coreAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-core-debuginfoAmazon
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-core-docAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-credential-libsecretAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-credential-libsecret-debuginfoAmazon
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-cvsAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-daemonAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-daemon-debuginfoAmazon
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-debuginfoAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-debugsourceAmazon
Fixed in:0:2.40.1-1.amzn2023.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-emailAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-guiAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-instawebAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-p4Amazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-subtreeAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
git-svnAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
gitkAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
gitwebAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
perl-GitAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
perl-Git-SVNAmazon
Fixed in:0:2.40.1-1.amzn2.0.3
Fixed in:0:2.40.1-1.amzn2023.0.3
gitDebian
Fixed in:1:2.39.5-0+deb12u1CVE-2024-32004
Fixed in:1:2.45.1-1CVE-2024-32004
Fixed in:1:2.45.1-1CVE-2024-32004
gitRocky
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
gitRed Hat / RHEL
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
git-allRocky
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.31.1-6.el9_0RHSA-2024:6610
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
git-allRed Hat / RHEL
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.31.1-6.el9_0RHSA-2024:6610
git-coreRocky
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
git-coreRed Hat / RHEL
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
git-core-debuginfoRocky
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.18.4-5.el8_2RHSA-2024:7701
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

1.35%probability of exploitation in 30 days
70thpercentile

Moderate risk: more likely to be exploited than 70% of all known CVEs.

References

Related Vulnerabilities

Other CWE-114 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-23748High7.89.1%KEV-
CVE-2020-11075High7.71.8%--
CVE-2019-8461High7.81.1%-Fix
CVE-2024-56346Critical10.01.1%--
CVE-2019-8458Medium4.41.0%-Fix
CVE-2021-25736Medium5.80.9%-Fix

Common questions

How do I fix CVE-2024-32004?

Published advisories record a fix for 66 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-32004 being actively exploited?

Not that we know of. CVE-2024-32004 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 70% of all scored CVEs.

How severe is CVE-2024-32004?

CVE-2024-32004 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-32004 affect?

Published advisories record a fix for git (Amazon), git-all (Amazon), git-core (Amazon), git-core-debuginfo (Amazon), and 62 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-32004
CVE-2024-32004 severity badge

Markdown

[![CVE-2024-32004](https://tridentstack.com/cve/badge/CVE-2024-32004.svg)](https://tridentstack.com/cve/CVE-2024-32004)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-32004"><img src="https://tridentstack.com/cve/badge/CVE-2024-32004.svg" alt="CVE-2024-32004"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.