TencentOS Server 4: mariadb (TSSA-2024:0973)

high Nessus Plugin ID 238696

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:0973 advisory.

Package updates are available for TencentOS Server 4 that fix the following vulnerabilities:

CVE-2022-32081:
MariaDB v10.4 to v10.7 was discovered to contain an use-after-poison in prepare_inplace_add_virtual at /storage/innobase/handler/handler0alter.cc.

CVE-2022-32082:
MariaDB v10.5 to v10.7 was discovered to contain an assertion failure at table->get_ref_count() == 0 in dict0dict.cc.

CVE-2022-32084:
MariaDB v10.2 to v10.7 was discovered to contain a segmentation fault via the component sub_select.

CVE-2022-32089:
MariaDB v10.5 to v10.7 was discovered to contain a segmentation fault via the component st_select_lex_unit::exclude_level.

CVE-2022-32091:
MariaDB v10.7 was discovered to contain an use-after-poison in in __interceptor_memset at /libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc.

CVE-2022-38791:
In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

CVE-2022-47015:
MariaDB Server before 10.3.34 thru 10.9.3 is vulnerable to Denial of Service. It is possible for function spider_db_mbase::print_warnings to dereference a null pointer.

CVE-2023-26785:
MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability.

CVE-2023-39593:
Insecure permissions in the sys_exec function of Oracle MYSQL MariaDB v10.5 allows authenticated attackers to execute arbitrary commands with elevated privileges.

CVE-2023-5157:
A vulnerability was found in MariaDB. An OpenVAS port scan on ports 3306 and 4567 allows a malicious remote client to cause a denial of service.

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.

See Also

https://mirrors.tencent.com/tlinux/errata/tssa-20240973.xml

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32084

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32091

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-47015

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32089

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32082

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32081

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-26785

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39593

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5157

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38791

Plugin Details

Severity: High

ID: 238696

File Name: tencentos_TSSA_2024_0973.nasl

Version: 1.1

Type: local

Published: 6/16/2025

Updated: 6/16/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:tencent:tencentos_server:mariadb, 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: 11/26/2024

Vulnerability Publication Date: 11/26/2024