CVE & CISA-KEV Catalog

CVE-2024-32002

CRITICALEPSS 98th pctl
9.0
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, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. 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. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to 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
XcodeApple
Fixed in:16121239
gitDebian
Fixed in:1:2.39.5-0+deb12u1CVE-2024-32002
Fixed in:1:2.45.1-1CVE-2024-32002
Fixed in:1:2.45.1-1CVE-2024-32002
gitRocky
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
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
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
gitRed Hat / RHEL
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.27.0-5.el8_4RHSA-2024:6028
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.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.39.5-1.el8_8RHSA-2024:4579
git-allRocky
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.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.39.5-1.el9_2RHSA-2024:4368
Fixed in:0:2.31.1-6.el9_0RHSA-2024:6610
git-allRed Hat / RHEL
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
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
Fixed in:0:2.31.1-6.el9_0RHSA-2024:6610
git-coreRocky
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
Fixed in:0:2.31.8-3.el8_6RHSA-2024:6027
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.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.27.0-5.el8_4RHSA-2024:6028
git-coreRed Hat / RHEL
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.27.0-5.el8_4RHSA-2024:6028
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

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 VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

29.23%probability of exploitation in 30 days
98thpercentile

Very high risk: more likely to be exploited than 98% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix

Common questions

How do I fix CVE-2024-32002?

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-32002 being actively exploited?

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

How severe is CVE-2024-32002?

CVE-2024-32002 has a CVSS v3 base score of 9.0, rated critical. 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-32002 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-32002
CVE-2024-32002 severity badge

Markdown

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

HTML

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

Check your Linux, macOS endpoints for this class of vulnerability

TridentStack Control continuously scans Linux, macOS 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.