Vulnerability identifier: #VU65287
Vulnerability risk: Medium
CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
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.37.0, 2.36.0 - 2.36.1, 2.35.0 - 2.35.3, 2.34.0 - 2.34.3, 2.33.0 - 2.33.3, 2.32.0 - 2.32.2, 2.31.0 - 2.31.3, 2.30.0 - 2.30.4
External links
http://github.blog/2022-04-12-git-security-vulnerability-announced
http://lore.kernel.org/git/xmqqv8s2fefi.fsf@gitster.g/T/#u
http://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v
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.