SUSE SLES12 Security Update : mariadb (SUSE-SU-2022:2160-1)

high Nessus Plugin ID 162520

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:2160-1 advisory.

- MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used. (CVE-2021-46669)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: FTS). Supported versions that are affected are 5.7.37 and prior and 8.0.28 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. (CVE-2022-21427)

- MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component Item_func_in::cleanup(), which is exploited via specially crafted SQL statements. (CVE-2022-27377)

- An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. (CVE-2022-27378)

- An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. (CVE-2022-27380)

- An issue in the component Field::set_default of MariaDB Server v10.6 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. (CVE-2022-27381)

- MariaDB Server v10.6 and below was discovered to contain an use-after-free in the component my_strcasecmp_8bit, which is exploited via specially crafted SQL statements. (CVE-2022-27383)

- An issue in the component Item_subselect::init_expr_cache_tracker of MariaDB Server v10.6 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements.
(CVE-2022-27384)

- MariaDB Server v10.7 and below was discovered to contain a segmentation fault via the component sql/sql_class.cc. (CVE-2022-27386)

- MariaDB Server v10.7 and below was discovered to contain a global buffer overflow in the component decimal_bin_size, which is exploited via specially crafted SQL statements. (CVE-2022-27387)

- MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/sql_window.cc. (CVE-2022-27445)

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 mariadb, mariadb-client, mariadb-errormessages and / or mariadb-tools packages.

See Also

https://bugzilla.suse.com/1198603

https://bugzilla.suse.com/1198604

https://bugzilla.suse.com/1198606

https://bugzilla.suse.com/1198607

https://bugzilla.suse.com/1198610

https://bugzilla.suse.com/1198611

https://bugzilla.suse.com/1198612

https://bugzilla.suse.com/1198613

https://bugzilla.suse.com/1198629

https://bugzilla.suse.com/1199928

https://www.suse.com/security/cve/CVE-2021-46669

https://www.suse.com/security/cve/CVE-2022-21427

https://www.suse.com/security/cve/CVE-2022-27377

https://www.suse.com/security/cve/CVE-2022-27378

https://www.suse.com/security/cve/CVE-2022-27380

https://www.suse.com/security/cve/CVE-2022-27381

https://www.suse.com/security/cve/CVE-2022-27383

https://www.suse.com/security/cve/CVE-2022-27384

https://www.suse.com/security/cve/CVE-2022-27386

https://www.suse.com/security/cve/CVE-2022-27387

https://www.suse.com/security/cve/CVE-2022-27445

http://www.nessus.org/u?26ac9774

Plugin Details

Severity: High

ID: 162520

File Name: suse_SU-2022-2160-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/24/2022

Updated: 7/13/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2022-27445

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: cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:mariadb-errormessages, p-cpe:/a:novell:suse_linux:mariadb-client, p-cpe:/a:novell:suse_linux:mariadb-tools, p-cpe:/a:novell:suse_linux:mariadb

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/23/2022

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-46669, CVE-2022-21427, CVE-2022-27377, CVE-2022-27378, CVE-2022-27380, CVE-2022-27381, CVE-2022-27383, CVE-2022-27384, CVE-2022-27386, CVE-2022-27387, CVE-2022-27445

SuSE: SUSE-SU-2022:2160-1