BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2024
CVE-2024-32021High confidence

Local Git clone may hardlink arbitrary user-readable files into the new repository's "objects/" directory

git · git

Official source article: GitHub GHSA-MVXM-9J2H-QJX7 ↗. Check the applicable product and release in the original source.

3.9LowCVSS 3.1
Recommended action
Within 7 days

Low technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
R
Operational reassessment

Published severity in operational context

Open reassessment dashboard →
Published severityLowOperational priority:Low, unchanged from published severity.unchanged

Evidence used

  • No CISA KEV confirmation is currently recorded.
  • A structured source references public exploit or proof-of-concept material.
  • Exploitation requires an existing local or physical foothold with privileges.
  • EPSS is 1.02% for the current model date.

Compensating controls

  • Restrict local access and enforce least privilege on affected hosts.
  • Increase monitoring for the attack path and post-exploitation behaviour described in the report.

Verification

  1. Confirm that the asset runs git git and falls inside the recorded affected range.
  2. Recheck the vendor advisory before scheduling a change because no verified fixed version is currently retained.
  3. Validate exposure, authentication requirements and compensating controls in the actual environment.
  4. Reopen this reassessment when CVSS, KEV, EPSS, exploit evidence or remediation changes.
Mitigation target: No default targetRemediation target: Normal maintenance

This automated reassessment organises public evidence. It does not know asset exposure, business impact or control effectiveness and does not replace CVSS or a human risk decision.

Distribution package intelligence

Release-specific package status

Alpine, Debian, ubuntu findings are scoped to the named distribution, release and source package. An absent finding does not mean a package is unaffected.

8 package states
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Distribution releaseSource packageVendor stateFixed versionEvidence
Alpine v3.23v3.23 · maingitVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.2.45.1-r0Alpine Security Database ↗Source updated 3 Oct 2026
Alpine v3.22v3.22 · maingitVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.2.45.1-r0Alpine Security Database ↗Source updated 3 Oct 2026
Alpine v3.21v3.21 · maingitVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.2.45.1-r0Alpine Security Database ↗Source updated 3 Oct 2026
Debian trixietrixie · sourcegitVendor fix publishedDebian records a fixed source-package version for this release.1:2.45.1-1Debian Security Tracker ↗Source updated 6 Oct 2026
Debian bookwormbookworm · sourcegitVendor fix publishedDebian records a fixed source-package version for this release.1:2.39.5-0+deb12u1Debian Security Tracker ↗Source updated 6 Oct 2026
Debian forkyforky · sourcegitVendor fix publishedDebian records a fixed source-package version for this release.1:2.45.1-1Debian Security Tracker ↗Source updated 6 Oct 2026
Debian sidsid · sourcegitVendor fix publishedDebian records a fixed source-package version for this release.1:2.45.1-1Debian Security Tracker ↗Source updated 6 Oct 2026
Ubuntu 24.04 LTSnoble · standard archivegitVendor fix publishedCanonical reports that a fixed source package version has been published. Repository candidate availability is not checked by BlackTree.1:2.43.0-1ubuntu7.1Canonical Ubuntu Security ↗Source updated 5 Oct 2026
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2024-29859

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

Low technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
01

What, why and how

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.

What

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.

Why

The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

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.

Why

The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
Reference recorded

A structured CVE source labels at least one public reference as exploit material. BlackTree has not independently validated that it is safe, reliable or weaponised.

Likely attack path
local access → Use of Hard-coded, Security-relevant Constants → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Local
Privileges required
Low: a basic authenticated account is required
User interaction
Required interaction required
Attack complexity
High: exploitation depends on specific conditions
Security boundary
Changed: exploitation can affect a different security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-547 ↗

CWE-547: Use of Hard-coded, Security-relevant Constants. The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVLocalAttack vector: The attacker needs local access to the vulnerable system.ACHighAttack complexity: Successful exploitation depends on specific conditions outside the attacker's direct control.PRLowPrivileges required: The attacker needs basic user-level privileges.UIRequiredUser interaction: Another user must perform an action for exploitation to succeed.SChangedScope: The attack can affect a component governed by a different security authority.CNoneConfidentiality impact: No direct loss is represented by this metric.ILowIntegrity impact: A successful attack can cause a limited loss.ALowAvailability impact: A successful attack can cause a limited loss.
Post-exploitation / living off the land
The issue can support a local privilege or sandbox boundary transition; normal system utilities may then be available in the gained context.
CWE-547Public exploit reference
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-2025-0794Juniper Junos Space: Mehrere Schwachstellen

Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Juniper Junos Space ausnutzen, um seine Privilegien zu erhöhen, um einen Denial of Service Zustand herbeizuführen und um andere, nicht näher spezifizierte Auswirkungen zu erzielen.

Official advisory ↗
BSI · German · WID-SEC-2024-1125git: Mehrere Schwachstellen

Ein entfernter, anonymer Angreifer oder ein lokaler authentifizierter Angreiferkann mehrere Schwachstellen in git ausnutzen, um beliebigen Programmcode auszuführen und und die Sicherheitsmaßnahmen zu umgehen.

Official advisory ↗
Cyber Security Agency of Singapore · English · CSA-SB-20240515Security Bulletin 15 May 2024

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 15 May 2024, published on 15 May 2024. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-0304Multiples vulnérabilités dans les produits Juniper Networks

ord?id=CVE-2024-27052 Référence CVE CVE-2024-27820 https://www.cve.org/CVERecord?id=CVE-2024-27820 Référence CVE CVE-2024-27838 https://www.cve.org/CVERecord?id=CVE-2024-27838 Référence CVE CVE-2024-27851 https://www.cve.org/CVERecord?id=CVE-2024-27851 Référence CVE CVE-2024-28182 https://www.cve.org/CVERecord?id=CVE-2024-28182 Référence CVE CVE-2024-2961 https://www.cve.org/CVERecord?id=CVE-2024-2961 Référence CVE CVE-2024-32002 https://www.cve.org/CVERecord?id=CVE-2024-32002 Référence CVE CVE-2024-32004 https://www.cve.org/CVERecord?id=CVE-2024-32004 Référence CVE CVE-2024-32020 https://www.cve.org/CVERecord?id=CVE-2024-32020 Référence CVE CVE-2024-32021 https://www.cve.org/CVERecord?id=CVE-2024-32021 Référence CVE CVE-2024-32465 https://www.cve.org/CVERecord?id=CVE-2024-32465 Référence CVE CVE-2024-33599 https://www.cve.org/CVERecord?id=CVE-2024-33599 Référence CVE CVE-2024-33600 https://www.cve.org/CVERecord?id=CVE-2024-33600 Référence CVE CVE-2024-33601 https://www.cve.org/CVERecord?id=CVE-2024-33601 Référence CVE CVE-2024-33602 https://www.cve.org/CVERecord?id=CVE-2024-33602 Référence CVE CVE-2024-35845 https://www.cve.org/CVERecord?id=CVE-2024-35845 Référence CVE CVE-2024-35899 https://www.cve.org/CVERecord?id=CVE-2024-35899 Référence CVE CVE-2024-3651 https://www.cve.org/CVERecord?id=C

Official advisory ↗
CERT-FR · French · CERTFR-2024-AVI-0741Multiples vulnérabilités dans Juniper Secure Analytics

ecord?id=CVE-2024-28834 Référence CVE CVE-2024-2961 https://www.cve.org/CVERecord?id=CVE-2024-2961 Référence CVE CVE-2024-29857 https://www.cve.org/CVERecord?id=CVE-2024-29857 Référence CVE CVE-2024-30171 https://www.cve.org/CVERecord?id=CVE-2024-30171 Référence CVE CVE-2024-30172 https://www.cve.org/CVERecord?id=CVE-2024-30172 Référence CVE CVE-2024-3019 https://www.cve.org/CVERecord?id=CVE-2024-3019 Référence CVE CVE-2024-32002 https://www.cve.org/CVERecord?id=CVE-2024-32002 Référence CVE CVE-2024-32004 https://www.cve.org/CVERecord?id=CVE-2024-32004 Référence CVE CVE-2024-32020 https://www.cve.org/CVERecord?id=CVE-2024-32020 Référence CVE CVE-2024-32021 https://www.cve.org/CVERecord?id=CVE-2024-32021 Référence CVE CVE-2024-32465 https://www.cve.org/CVERecord?id=CVE-2024-32465 Référence CVE CVE-2024-32487 https://www.cve.org/CVERecord?id=CVE-2024-32487 Référence CVE CVE-2024-33599 https://www.cve.org/CVERecord?id=CVE-2024-33599 Référence CVE CVE-2024-33600 https://www.cve.org/CVERecord?id=CVE-2024-33600 Référence CVE CVE-2024-33601 https://www.cve.org/CVERecord?id=CVE-2024-33601 Référence CVE CVE-2024-33602 https://www.cve.org/CVERecord?id=CVE-2024-33602 Référence CVE CVE-2024-34064 https://www.cve.org/CVERecord?id=CVE-2024-34064 Référence CVE CVE-2024-34750 https://www.cve.org/CVERecord?id=

Official advisory ↗
CERT-FR · French · CERTFR-2024-AVI-0646Multiples vulnérabilités dans les produits IBM

d?id=CVE-2024-27052 Référence CVE CVE-2024-27056 https://www.cve.org/CVERecord?id=CVE-2024-27056 Référence CVE CVE-2024-27059 https://www.cve.org/CVERecord?id=CVE-2024-27059 Référence CVE CVE-2024-28180 https://www.cve.org/CVERecord?id=CVE-2024-28180 Référence CVE CVE-2024-28849 https://www.cve.org/CVERecord?id=CVE-2024-28849 Référence CVE CVE-2024-29415 https://www.cve.org/CVERecord?id=CVE-2024-29415 Référence CVE CVE-2024-32002 https://www.cve.org/CVERecord?id=CVE-2024-32002 Référence CVE CVE-2024-32004 https://www.cve.org/CVERecord?id=CVE-2024-32004 Référence CVE CVE-2024-32020 https://www.cve.org/CVERecord?id=CVE-2024-32020 Référence CVE CVE-2024-32021 https://www.cve.org/CVERecord?id=CVE-2024-32021 Référence CVE CVE-2024-32465 https://www.cve.org/CVERecord?id=CVE-2024-32465 Référence CVE CVE-2024-32487 https://www.cve.org/CVERecord?id=CVE-2024-32487 Référence CVE CVE-2024-35154 https://www.cve.org/CVERecord?id=CVE-2024-35154 Référence CVE CVE-2024-3651 https://www.cve.org/CVERecord?id=CVE-2024-3651 Référence CVE CVE-2024-3652 https://www.cve.org/CVERecord?id=CVE-2024-3652 Référence CVE CVE-2024-4603 https://www.cve.org/CVERecord?id=CVE-2024-4603 Référence CVE CVE-2024-4741 https://www.cve.org/CVERecord?id=CVE-2024-4741 Référence CVE CVE-2024-5535 https://www.cve.org/CVERecord?id=CVE-2024-

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2024-029791Debian等の複数ベンダの製品におけるハードコードされたセキュリティ関連の定数の使用に関する脆弱性

Gitはバージョン管理システムです。2.45.1より前の複数のバージョンでは、ローカルのソースリポジトリをファイルシステム経由でクローンする際、シンボリックリンクが含まれている場合に、Gitはターゲットリポジトリのobjectsディレクトリ内に同じファイルシステム上でユーザーが読み取り可能な任意のファイルへのハードリンクを作成する可能性があります。この問題は、ローカルクローンの最適化によってオブジェクトファイルにハードリンクが作成される挙動が原因で発生します。シンボリックリンクの競合状態が発生すると、任意のユーザー所有ファイルへのハードリンクが作成される危険性があります。Gitの影響を受けるすべてのバージョンで、この問題は修正されています。

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Fix not verified
Affected
git: = 2.45.0, = 2.44.0, >= 2.43.0, < 2.43.4, >= 2.42.0, < 2.42.2, = 2.41.0, >= 2.40.0, < 2.40.2, < 2.39.4
Fixed
No fixed version is explicitly recorded in the structured CVE data.
Action
No verified patch reference is present in the current structured sources. Check the vendor advisory before making a change.
Workaround
No verified workaround is recorded. Limit untrusted access and use least privilege until authoritative guidance is available.
04

Evidence and provenance

Published 14 May 2024 · Last source change 4 Nov 2025, 16:12 UTC · CWE-547 · Use of Hard-coded, Security-relevant Constants

CVE recordCVE.org · 5.2
CVSS sourceCNA
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2024-29859
Product sourceCNA
Remediation sourceCVE/CNA references
CWE sourceCNA
NVD statusNVD enriched

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates ↗

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2024-32021 · cve.blacktree.nl