Synopsis
The remote TencentOS Server 4 host is missing one or more security updates.
Description
The version of Tencent Linux installed on the remote TencentOS Server 4 host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the TSSA-2024:0632 advisory.
    Package updates are available for TencentOS Server 4 that fix the following vulnerabilities:
    CVE-2024-35221:
    Rubygems.org is the Ruby community's gem hosting service. A Gem publisher can cause a Remote DoS when     publishing a Gem. This is due to how Ruby reads the Manifest of Gem files when using     Gem::Specification.from_yaml. from_yaml makes use of SafeYAML.load which allows YAML aliases inside the     YAML-based metadata of a gem. YAML aliases allow for Denial of Service attacks with so-called `YAML-bombs`     (comparable to Billion laughs attacks). This was patched. There is is no action required by users. This     issue is also tracked as GHSL-2024-001 and was discovered by the GitHub security lab.
    CVE-2024-43398:
    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-39908:
     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-35176:
     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-41946:
    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-2023-36617:
    A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles     invalid URLs that have specific characters. There is an increase in execution time for parsing strings to     URI objects with rfc2396_parser.rb and rfc3986_parser.rb. NOTE: this issue exists becuse of an incomplete     fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.
    CVE-2024-41123:
    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.
Tenable has extracted the preceding description block directly from the Tencent Linux 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 packages.
Plugin Details
File Name: tencentos_TSSA_2024_0632.nasl
Supported Sensors: Nessus
Vulnerability Information
CPE: p-cpe:/a:tencent:tencentos_server:ruby, cpe:/o:tencent:tencentos_server:4
Required KB Items: Host/local_checks_enabled, Host/cpu, Host/etc/os-release, Host/TencentOS/rpm-list
Exploit Ease: No known exploits are available
Patch Publication Date: 12/5/2024
Vulnerability Publication Date: 12/5/2024