Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-32465— Git's protections for cloning untrusted repositories can be bypassed

Quick assessment

Affected
git git
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Git是一套免费、开源的分布式版本控制系统。 Git存在路径遍历漏洞,该漏洞源于不检查文件是否安全。

CVSS 7.4 · High EPSS 1.03% · P62
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-32465

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Git's protections for cloning untrusted repositories can be bypassed
Source: CVE Program / CVE List V5
Vulnerability Description
Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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 using Git in repositories that have been obtained via archives from untrusted sources.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Git 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Git是一套免费、开源的分布式版本控制系统。 Git存在路径遍历漏洞,该漏洞源于不检查文件是否安全。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
git git = 2.45.0 -

II. Public POCs for CVE-2024-32465

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6899 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-32465

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-32465 (1)

Vendor Advisories for CVE-2024-32465 (1)

Mailing List Discussions for CVE-2024-32465 (3)

Other References for CVE-2024-32465 (2)

Same Patch Batch · git · 2024-05-14 · 5 CVEs total

CVE-2024-32002 9.1 CRITICAL Git's recursive clones on case-insensitive filesystems that support symlinks are susceptib
CVE-2024-32004 8.2 HIGH Git vulnerable to Remote Code Execution while cloning special-crafted local repositories
CVE-2024-32020 3.9 LOW Cloning local Git repository by untrusted user allows the untrusted user to modify objects
CVE-2024-32021 3.9 LOW Local Git clone may hardlink arbitrary user-readable files into the new repository's "obje

IV. Related Vulnerabilities

V. Comments for CVE-2024-32465

No comments yet


Leave a comment