#VU65287 Permissions, Privileges, and Access Controls in Git - CVE-2022-29187


Vulnerability identifier: #VU65287

Vulnerability risk: Medium

CVSSv4.0: 1.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-29187

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git
Client/Desktop applications / Software for system administration

Vendor: Git

Description

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to application does not properly impose security restrictions. A remote user can bypass implemented security restrictions and privilege escalation on the system when navigating as root into a shared tmp directory owned by the victim, but where an attacker can create a git repository.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git: 2.30.0 - 2.37.0


External links
https://github.blog/2022-04-12-git-security-vulnerability-announced
https://lore.kernel.org/git/xmqqv8s2fefi.fsf@gitster.g/T/#u
https://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability