CVE & CISA-KEV Catalog

CVE-2024-32021

LOW
3.9
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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. 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.

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-32021
Fixed in:1:2.45.1-1CVE-2024-32021
Fixed in:1:2.45.1-1CVE-2024-32021
gitRocky
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
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.el9_4RHSA-2024:4083
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
gitRed Hat / RHEL
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
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.el9_4RHSA-2024:4083
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
git-allRocky
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
git-allRed Hat / RHEL
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
git-coreRed Hat / RHEL
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
Fixed in:0:2.43.5-1.el8_10RHSA-2024:4084
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.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
git-coreRocky
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
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.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368
git-core-debuginfoRocky
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
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.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.43.5-1.el9_4RHSA-2024:4083
Fixed in:0:2.39.5-1.el9_2RHSA-2024:4368

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 RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityLow

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

Exploit Intelligence

1.02%probability of exploitation in 30 days
62ndpercentile

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

References

Related Vulnerabilities

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

CVESeverityCVSSEPSSExploitedFix
CVE-2019-14837Critical9.11.7%-Fix
CVE-2025-30206Critical9.80.9%--
CVE-2023-1712Critical9.80.9%-Fix
CVE-2025-49151Critical9.30.6%--
CVE-2025-2081High8.70.4%--
CVE-2025-2079High8.70.4%--

Common questions

How do I fix CVE-2024-32021?

Published advisories record a fix for 64 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-32021 being actively exploited?

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

How severe is CVE-2024-32021?

CVE-2024-32021 has a CVSS v3 base score of 3.9, rated low. 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-32021 affect?

Published advisories record a fix for git (Amazon), git-all (Amazon), git-core (Amazon), git-core-debuginfo (Amazon), and 60 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-32021
CVE-2024-32021 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2024-32021"><img src="https://tridentstack.com/cve/badge/CVE-2024-32021.svg" alt="CVE-2024-32021"></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.