openEuler update for git



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-29187
CVE-2022-24765
CWE-ID CWE-264
CWE-426
Exploitation vector Network
Public exploit N/A
Vulnerable software
openEuler
Operating systems & Components / Operating system

perl-Git
Operating systems & Components / Operating system package or component

git-help
Operating systems & Components / Operating system package or component

git-email
Operating systems & Components / Operating system package or component

git-web
Operating systems & Components / Operating system package or component

git-svn
Operating systems & Components / Operating system package or component

perl-Git-SVN
Operating systems & Components / Operating system package or component

gitk
Operating systems & Components / Operating system package or component

git-gui
Operating systems & Components / Operating system package or component

git-daemon
Operating systems & Components / Operating system package or component

git-debugsource
Operating systems & Components / Operating system package or component

git-debuginfo
Operating systems & Components / Operating system package or component

git
Operating systems & Components / Operating system package or component

Vendor openEuler

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU65287

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 - Permissions, Privileges, and Access Controls

Exploit availability: No

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 repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS

perl-Git: before 2.27.0-8

git-help: before 2.27.0-8

git-email: before 2.27.0-8

git-web: before 2.27.0-8

git-svn: before 2.27.0-8

perl-Git-SVN: before 2.27.0-8

gitk: before 2.27.0-8

git-gui: before 2.27.0-8

git-daemon: before 2.27.0-8

git-debugsource: before 2.27.0-8

git-debuginfo: before 2.27.0-8

git: before 2.27.0-8

CPE2.3 External links

https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1765


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.

2) Untrusted search path

EUVDB-ID: #VU62258

Risk: Low

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

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 repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS

perl-Git: before 2.27.0-8

git-help: before 2.27.0-8

git-email: before 2.27.0-8

git-web: before 2.27.0-8

git-svn: before 2.27.0-8

perl-Git-SVN: before 2.27.0-8

gitk: before 2.27.0-8

git-gui: before 2.27.0-8

git-daemon: before 2.27.0-8

git-debugsource: before 2.27.0-8

git-debuginfo: before 2.27.0-8

git: before 2.27.0-8

CPE2.3 External links

https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1765


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###