EulerOS 2.0 SP10 : ruby (EulerOS-SA-2024-2914)

high Nessus Plugin ID 210649

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the ruby packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

REXML is an XML toolkit for Ruby.The REXML gem 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API.The REXML gem 3.3.3 or later include the patch to fix the vulnerability.(CVE-2024-41946)

REXML is an XML toolkit for Ruby.The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `]` and `]`.The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.(CVE-2024-41123)

REXML is an XML toolkit for Ruby.The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes.If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability.If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected.The REXML gem 3.3.6 or later include the patch to fix the vulnerability.(CVE-2024-43398)

REXML is an XML toolkit for Ruby.The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as ``, `0` and `%`.If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities.The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities.Users are advised to upgrade.Users unable to upgrade should avoid parsing untrusted XML strings.(CVE-2024-39908)

REXML is an XML toolkit for Ruby.The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many ``s in an attribute value.Those who need to parse untrusted XMLs may be impacted to this vulnerability.The REXML gem 3.2.7 or later include the patch to fix this vulnerability.As a workaround, don't parse untrusted XMLs.(CVE-2024-35176)

Tenable has extracted the preceding description block directly from the EulerOS ruby security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected ruby packages.

See Also

http://www.nessus.org/u?e77a3383

Plugin Details

Severity: High

ID: 210649

File Name: EulerOS_SA-2024-2914.nasl

Version: 1.2

Type: local

Published: 11/8/2024

Updated: 12/23/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2024-41946

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:ruby, p-cpe:/a:huawei:euleros:ruby-irb, cpe:/o:huawei:euleros:2.0, p-cpe:/a:huawei:euleros:ruby-help

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/EulerOS/release, Host/EulerOS/rpm-list, Host/EulerOS/sp

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/8/2024

Vulnerability Publication Date: 5/16/2024

Reference Information

CVE: CVE-2024-35176, CVE-2024-39908, CVE-2024-41123, CVE-2024-41946, CVE-2024-43398