Multiple vulnerabilities in Git



Published: 2022-04-12
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-24767
CVE-2022-24765
CWE-ID CWE-427
CWE-426
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Git
Client/Desktop applications / Software for system administration

Vendor Git

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Insecure DLL loading

EUVDB-ID: #VU62260

Risk: Low

CVSSv3.1: 6.4 [CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-24767

CWE-ID: CWE-427 - Uncontrolled Search Path Element

Exploit availability: No

Description

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

The vulnerability exists due to the uninstaller binary loads DLL libraries in an insecure manner from the current working directory. A local user can place a specially crafted .dll file onto the system, trick the victim to run the uninstaller binary from that directory and execute arbitrary code with elevated privileges.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Git: 2.35.0 - 2.35.1

External links

http://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3
http://github.com/git-for-windows/git/releases/tag/v2.35.2.windows.1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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

2) Untrusted search path

EUVDB-ID: #VU62258

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-24765

CWE-ID: CWE-426 - Untrusted Search Path

Exploit availability: No

Description

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

The vulnerability exists due to application uses by default the C:\.git folder. A local user with ability to write files into the said directory can place a malicious file into it and execute it with elevated privileges.

Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Git: 2.32.0 - 2.35.1

External links

http://github.com/git-for-windows/git/security/advisories/GHSA-vw2c-22j4-2fh2
http://github.com/git-for-windows/git/releases/tag/v2.32.1.windows.1
http://github.com/git-for-windows/git/releases/tag/v2.35.2.windows.1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###