SUSE update for rubygem-tzinfo



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-31163
CWE-ID CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
SUSE Linux Enterprise Server
Operating systems & Components / Operating system

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

SUSE Linux Enterprise Storage
Operating systems & Components / Operating system

SUSE Manager Retail Branch Server
Operating systems & Components / Operating system

SUSE Linux Enterprise High Availability
Operating systems & Components / Operating system

SUSE Manager Proxy
Operating systems & Components / Operating system

SUSE Manager Server
Operating systems & Components / Operating system

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

openSUSE Leap
Operating systems & Components / Operating system

ruby2.5-rubygem-tzinfo-testsuite
Operating systems & Components / Operating system package or component

ruby2.5-rubygem-tzinfo-doc
Operating systems & Components / Operating system package or component

ruby2.5-rubygem-tzinfo
Operating systems & Components / Operating system package or component

Vendor SUSE

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU68860

Risk: Medium

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

CVE-ID: CVE-2022-31163

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing a new line character in the TZInfo::Timezone.get. With Ruby version 1.9.3 and later, TZInfo::Timezone.get can be made to load unintended files with require, executing them within the Ruby process. A remote attacker can pass specially crafted input to the application and execute arbitrary code on the system.

Exploitation example:

TZInfo::Timezone.get("foo\n/../../../../../../../../../../../../../../../../tmp/payload")

Mitigation

Update the affected package rubygem-tzinfo to the latest version.

Vulnerable software versions

SUSE Linux Enterprise Server: 15-SP1 - 15-SP4

SUSE Linux Enterprise High Performance Computing: 15-SP1 - 15-SP4

SUSE Linux Enterprise Storage: 6 - 7.1

SUSE Manager Retail Branch Server: 4.0 - 4.3

SUSE Linux Enterprise High Availability: 15-SP1 - 15-SP4

SUSE Manager Proxy: 4.0 - 4.3

SUSE Manager Server: 4.0 - 4.3

SUSE Linux Enterprise Server for SAP Applications: 15 - 15-SP4

openSUSE Leap: 15.3 - 15.4

ruby2.5-rubygem-tzinfo-testsuite: before 1.2.4-150000.3.3.1

ruby2.5-rubygem-tzinfo-doc: before 1.2.4-150000.3.3.1

ruby2.5-rubygem-tzinfo: before 1.2.4-150000.3.3.1

CPE2.3 External links

https://www.suse.com/support/update/announcement/2022/suse-su-20222592-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.



###SIDEBAR###