SUSE update for git



Published: 2023-02-15 | Updated: 2023-05-29
Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2022-39253
CVE-2022-39260
CVE-2023-22490
CVE-2023-23946
CWE-ID CWE-20
CWE-122
CWE-59
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
SUSE Enterprise Storage
Operating systems & Components / Operating system

SUSE Linux Enterprise Server for SAP
Operating systems & Components / Operating system

SUSE Linux Enterprise Server
Operating systems & Components / Operating system

SUSE Linux Enterprise High Performance Computing
Operating systems & Components / Operating system

SUSE CaaS Platform
Operating systems & Components / Operating system

openSUSE Leap
Operating systems & Components / Operating system

git-doc
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

git-svn
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

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

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

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

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

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

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

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

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

git
Operating systems & Components / Operating system package or component

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

Vendor SUSE

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU68517

Risk: Low

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

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

Update the affected package git to the latest version.

Vulnerable software versions

SUSE Enterprise Storage: 7.1

SUSE Linux Enterprise Server for SAP: 15-SP1 - 15-SP2

SUSE Linux Enterprise Server: 15-SP1-LTSS - 15-SP2-LTSS

SUSE Linux Enterprise High Performance Computing: 15-SP1-LTSS - 15-SP2-LTSS

SUSE CaaS Platform: 4.0

openSUSE Leap: 15.4

git-doc: before 2.26.2-150000.47.1

gitk: before 2.26.2-150000.47.1

git-web: before 2.26.2-150000.47.1

git-svn: before 2.26.2-150000.47.1

git-gui: before 2.26.2-150000.47.1

git-email: before 2.26.2-150000.47.1

git-debugsource: before 2.26.2-150000.47.1

git-debuginfo: before 2.26.2-150000.47.1

git-daemon-debuginfo: before 2.26.2-150000.47.1

git-daemon: before 2.26.2-150000.47.1

git-cvs: before 2.26.2-150000.47.1

git-core-debuginfo: before 2.26.2-150000.47.1

git-core: before 2.26.2-150000.47.1

git-arch: before 2.26.2-150000.47.1

git: before 2.26.2-150000.47.1

git-svn-debuginfo: before 2.26.2-150000.47.1

External links

http://www.suse.com/support/update/announcement/2023/suse-su-20230418-1/


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.

2) Heap-based buffer overflow

EUVDB-ID: #VU68518

Risk: High

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

CVE-ID: CVE-2022-39260

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the "git shell" command when handling untrusted input. A remote attacker can trick the victim to execute the affected command against a malicious repository, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package git to the latest version.

Vulnerable software versions

SUSE Enterprise Storage: 7.1

SUSE Linux Enterprise Server for SAP: 15-SP1 - 15-SP2

SUSE Linux Enterprise Server: 15-SP1-LTSS - 15-SP2-LTSS

SUSE Linux Enterprise High Performance Computing: 15-SP1-LTSS - 15-SP2-LTSS

SUSE CaaS Platform: 4.0

openSUSE Leap: 15.4

git-doc: before 2.26.2-150000.47.1

gitk: before 2.26.2-150000.47.1

git-web: before 2.26.2-150000.47.1

git-svn: before 2.26.2-150000.47.1

git-gui: before 2.26.2-150000.47.1

git-email: before 2.26.2-150000.47.1

git-debugsource: before 2.26.2-150000.47.1

git-debuginfo: before 2.26.2-150000.47.1

git-daemon-debuginfo: before 2.26.2-150000.47.1

git-daemon: before 2.26.2-150000.47.1

git-cvs: before 2.26.2-150000.47.1

git-core-debuginfo: before 2.26.2-150000.47.1

git-core: before 2.26.2-150000.47.1

git-arch: before 2.26.2-150000.47.1

git: before 2.26.2-150000.47.1

git-svn-debuginfo: before 2.26.2-150000.47.1

External links

http://www.suse.com/support/update/announcement/2023/suse-su-20230418-1/


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) Link following

EUVDB-ID: #VU72246

Risk: Low

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

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

Update the affected package git to the latest version.

Vulnerable software versions

SUSE Enterprise Storage: 7.1

SUSE Linux Enterprise Server for SAP: 15-SP1 - 15-SP2

SUSE Linux Enterprise Server: 15-SP1-LTSS - 15-SP2-LTSS

SUSE Linux Enterprise High Performance Computing: 15-SP1-LTSS - 15-SP2-LTSS

SUSE CaaS Platform: 4.0

openSUSE Leap: 15.4

git-doc: before 2.26.2-150000.47.1

gitk: before 2.26.2-150000.47.1

git-web: before 2.26.2-150000.47.1

git-svn: before 2.26.2-150000.47.1

git-gui: before 2.26.2-150000.47.1

git-email: before 2.26.2-150000.47.1

git-debugsource: before 2.26.2-150000.47.1

git-debuginfo: before 2.26.2-150000.47.1

git-daemon-debuginfo: before 2.26.2-150000.47.1

git-daemon: before 2.26.2-150000.47.1

git-cvs: before 2.26.2-150000.47.1

git-core-debuginfo: before 2.26.2-150000.47.1

git-core: before 2.26.2-150000.47.1

git-arch: before 2.26.2-150000.47.1

git: before 2.26.2-150000.47.1

git-svn-debuginfo: before 2.26.2-150000.47.1

External links

http://www.suse.com/support/update/announcement/2023/suse-su-20230418-1/


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.

4) Link following

EUVDB-ID: #VU72245

Risk: Medium

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

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

Update the affected package git to the latest version.

Vulnerable software versions

SUSE Enterprise Storage: 7.1

SUSE Linux Enterprise Server for SAP: 15-SP1 - 15-SP2

SUSE Linux Enterprise Server: 15-SP1-LTSS - 15-SP2-LTSS

SUSE Linux Enterprise High Performance Computing: 15-SP1-LTSS - 15-SP2-LTSS

SUSE CaaS Platform: 4.0

openSUSE Leap: 15.4

git-doc: before 2.26.2-150000.47.1

gitk: before 2.26.2-150000.47.1

git-web: before 2.26.2-150000.47.1

git-svn: before 2.26.2-150000.47.1

git-gui: before 2.26.2-150000.47.1

git-email: before 2.26.2-150000.47.1

git-debugsource: before 2.26.2-150000.47.1

git-debuginfo: before 2.26.2-150000.47.1

git-daemon-debuginfo: before 2.26.2-150000.47.1

git-daemon: before 2.26.2-150000.47.1

git-cvs: before 2.26.2-150000.47.1

git-core-debuginfo: before 2.26.2-150000.47.1

git-core: before 2.26.2-150000.47.1

git-arch: before 2.26.2-150000.47.1

git: before 2.26.2-150000.47.1

git-svn-debuginfo: before 2.26.2-150000.47.1

External links

http://www.suse.com/support/update/announcement/2023/suse-su-20230418-1/


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.



###SIDEBAR###