Rocky Linux 8 : mariadb:10.5 (RLSA-2022:1557)

medium Nessus Plugin ID 184694

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2022:1557 advisory.

- Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 5.7.33 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-2021-2154)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 5.7.33 and prior and 8.0.23 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-2021-2166)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.34 and prior and 8.0.25 and prior. Difficult to exploit 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-2021-2372)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.34 and prior and 8.0.25 and prior. Difficult to exploit vulnerability allows unauthenticated 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-2021-2389)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.35 and prior and 8.0.26 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 as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. (CVE-2021-35604)

- get_sort_by_table in MariaDB before 10.6.2 allows an application crash via certain subquery uses of ORDER BY. (CVE-2021-46657)

- save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery. (CVE-2021-46658)

- MariaDB through 10.5.9 allows a set_var.cc application crash via certain uses of an UPDATE statement in conjunction with a nested subquery. (CVE-2021-46662)

- MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause. (CVE-2021-46666)

- MariaDB before 10.6.5 has a sql_lex.cc integer overflow, leading to an application crash. (CVE-2021-46667)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.37 and prior and 8.0.28 and prior. Difficult to exploit 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-21451)

- An issue in the component Used_tables_and_const_cache::used_tables_and_const_cache_join 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-27385)

- MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_xbstream.cc, when an error occurs (stream_ctxt->dest_file == NULL) while executing the method xbstream_open, the held lock is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
(CVE-2022-31621)

- MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock. (CVE-2022-31624)

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://errata.rockylinux.org/RLSA-2022:1557

https://bugzilla.redhat.com/show_bug.cgi?id=1951752

https://bugzilla.redhat.com/show_bug.cgi?id=1951755

https://bugzilla.redhat.com/show_bug.cgi?id=1981332

https://bugzilla.redhat.com/show_bug.cgi?id=1992303

https://bugzilla.redhat.com/show_bug.cgi?id=1992309

https://bugzilla.redhat.com/show_bug.cgi?id=2016101

https://bugzilla.redhat.com/show_bug.cgi?id=2049294

https://bugzilla.redhat.com/show_bug.cgi?id=2049305

https://bugzilla.redhat.com/show_bug.cgi?id=2050019

https://bugzilla.redhat.com/show_bug.cgi?id=2050028

https://bugzilla.redhat.com/show_bug.cgi?id=2050030

https://bugzilla.redhat.com/show_bug.cgi?id=2050515

https://bugzilla.redhat.com/show_bug.cgi?id=2050524

https://bugzilla.redhat.com/show_bug.cgi?id=2050542

https://bugzilla.redhat.com/show_bug.cgi?id=2050546

Plugin Details

Severity: Medium

ID: 184694

File Name: rocky_linux_RLSA-2022-1557.nasl

Version: 1.1

Type: local

Published: 11/6/2023

Updated: 11/7/2023

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.5

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

CVSS Score Source: CVE-2021-35604

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5.1

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

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

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:mariadb-server, p-cpe:/a:rocky:linux:mariadb-common, p-cpe:/a:rocky:linux:mariadb, p-cpe:/a:rocky:linux:mariadb-pam-debuginfo, p-cpe:/a:rocky:linux:mariadb-server-debuginfo, p-cpe:/a:rocky:linux:mariadb-embedded-devel, p-cpe:/a:rocky:linux:mariadb-server-utils, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:judy, p-cpe:/a:rocky:linux:mariadb-backup-debuginfo, p-cpe:/a:rocky:linux:mariadb-debugsource, p-cpe:/a:rocky:linux:mariadb-backup, p-cpe:/a:rocky:linux:mariadb-debuginfo, p-cpe:/a:rocky:linux:mariadb-pam, p-cpe:/a:rocky:linux:judy-debuginfo, p-cpe:/a:rocky:linux:galera-debuginfo, p-cpe:/a:rocky:linux:mariadb-test-debuginfo, p-cpe:/a:rocky:linux:mariadb-embedded-debuginfo, p-cpe:/a:rocky:linux:mariadb-test, p-cpe:/a:rocky:linux:mariadb-errmsg, p-cpe:/a:rocky:linux:mariadb-devel, p-cpe:/a:rocky:linux:mariadb-gssapi-server-debuginfo, p-cpe:/a:rocky:linux:mariadb-server-utils-debuginfo, p-cpe:/a:rocky:linux:galera-debugsource, p-cpe:/a:rocky:linux:galera, p-cpe:/a:rocky:linux:judy-debugsource, p-cpe:/a:rocky:linux:mariadb-oqgraph-engine-debuginfo, p-cpe:/a:rocky:linux:mariadb-server-galera, p-cpe:/a:rocky:linux:mariadb-oqgraph-engine, p-cpe:/a:rocky:linux:mariadb-embedded, p-cpe:/a:rocky:linux:mariadb-gssapi-server

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/26/2022

Vulnerability Publication Date: 4/20/2021

Reference Information

CVE: CVE-2021-2154, CVE-2021-2166, CVE-2021-2372, CVE-2021-2389, CVE-2021-35604, CVE-2021-46657, CVE-2021-46658, CVE-2021-46662, CVE-2021-46666, CVE-2021-46667, CVE-2022-21451, CVE-2022-27385, CVE-2022-31621, CVE-2022-31624