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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-29187— Bypass of safe.directory protections in Git

Quick assessment

Affected
git git
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Github Git是一套免费、开源的分布式版本控制系统。 Github Git 存在安全漏洞,该漏洞源于可以绕过安全目录保护,以下产品和版本受到影响:Git 2.37.1、2.36.2、2.35.4、2.34.4、2.33.4、2.32.3、2.31.4 和 2.30.5 之前版本。

CVSS 7.8 · High EPSS 0.45% · P37

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-29187

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
Bypass of safe.directory protections in Git
Source: CVE Program / CVE List V5
Vulnerability Description
Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
属主管理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Github Git 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Github Git是一套免费、开源的分布式版本控制系统。 Github Git 存在安全漏洞,该漏洞源于可以绕过安全目录保护,以下产品和版本受到影响:Git 2.37.1、2.36.2、2.35.4、2.34.4、2.33.4、2.32.3、2.31.4 和 2.30.5 之前版本。
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.30.3, < 2.30.5 -

II. Public POCs for CVE-2022-29187

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-29187

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

Vendor Advisories for CVE-2022-29187 (4)

Mailing List Discussions for CVE-2022-29187 (9)

Other References for CVE-2022-29187 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-29187

No comments yet


Leave a comment