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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.4 · High EPSS 0.15% · P36
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
gitgit = 2.45.0 -

II. Public POCs for CVE-2024-32465

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-32465

登录查看更多情报信息。

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

CVE-2024-320029.1 CRITICALGit's recursive clones on case-insensitive filesystems that support symlinks are susceptib
CVE-2024-320048.2 HIGHGit vulnerable to Remote Code Execution while cloning special-crafted local repositories
CVE-2024-320203.9 LOWCloning local Git repository by untrusted user allows the untrusted user to modify objects
CVE-2024-320213.9 LOWLocal 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