openEuler update for git



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-22490
CVE-2023-23946
CVE-2022-39253
CWE-ID CWE-59
CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
openEuler
Operating systems & Components / Operating system

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

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

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

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

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

gitk
Operating systems & Components / Operating system package or component

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

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

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

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

git-debugsource
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 3 vulnerabilities.

1) Link following

EUVDB-ID: #VU72246

Risk: Low

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

CVE-ID: CVE-2023-22490

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insecure processing of symbolic links when using local clone optimization. Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, however the `objects` directory itself may still be a symbolic link. A remote attacker can trick the victim into using the local clone optimization to exfiltrate arbitrary files from the victim's system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS SP1

perl-Git-SVN: before 2.27.0-12

git-svn: before 2.27.0-12

git-help: before 2.27.0-12

git-gui: before 2.27.0-12

git-email: before 2.27.0-12

gitk: before 2.27.0-12

git-web: before 2.27.0-12

perl-Git: before 2.27.0-12

git-daemon: before 2.27.0-12

git-debuginfo: before 2.27.0-12

git-debugsource: before 2.27.0-12

git: before 2.27.0-12

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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

2) Link following

EUVDB-ID: #VU72245

Risk: Medium

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

CVE-ID: CVE-2023-23946

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows an attacker to compromise the affected system.

The vulnerability exists due to application allows to overwrite files outside the working tree via the "git apply" command. A remote attacker can trick the victim to run the affected command against a malicious or compromised repository and overwrite arbitrary files on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS SP1

perl-Git-SVN: before 2.27.0-12

git-svn: before 2.27.0-12

git-help: before 2.27.0-12

git-gui: before 2.27.0-12

git-email: before 2.27.0-12

gitk: before 2.27.0-12

git-web: before 2.27.0-12

perl-Git: before 2.27.0-12

git-daemon: before 2.27.0-12

git-debuginfo: before 2.27.0-12

git-debugsource: before 2.27.0-12

git: before 2.27.0-12

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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

3) Input validation error

EUVDB-ID: #VU68517

Risk: Low

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

CVE-ID: CVE-2022-39253

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass certain security restrictions.

The vulnerability exists due to the way Git handles hardlinks when performing a local clone. A remote attacker can trick the victim into clocking a malicious repository and create or copy hardlinks to critical files on the system, which can result in sensitive information exposure.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS SP1

perl-Git-SVN: before 2.27.0-12

git-svn: before 2.27.0-12

git-help: before 2.27.0-12

git-gui: before 2.27.0-12

git-email: before 2.27.0-12

gitk: before 2.27.0-12

git-web: before 2.27.0-12

perl-Git: before 2.27.0-12

git-daemon: before 2.27.0-12

git-debuginfo: before 2.27.0-12

git-debugsource: before 2.27.0-12

git: before 2.27.0-12

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###