RHEL 8 : mariadb:10.5 (RHSA-2022:1557)

medium Nessus Plugin ID 160228

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

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

- mysql: Server: DML unspecified vulnerability (CPU Apr 2021) (CVE-2021-2154, CVE-2021-2166)

- mysql: InnoDB unspecified vulnerability (CPU Jul 2021) (CVE-2021-2372, CVE-2021-2389)

- mysql: InnoDB unspecified vulnerability (CPU Oct 2021) (CVE-2021-35604)

- mariadb: Crash in get_sort_by_table() in subquery with ORDER BY having outer ref (CVE-2021-46657)

- mariadb: save_window_function_values triggers an abort during IN subquery (CVE-2021-46658)

- mariadb: Crash in set_var.cc via certain UPDATE queries with nested subqueries (CVE-2021-46662)

- mariadb: Crash caused by mishandling of a pushdown from a HAVING clause to a WHERE clause (CVE-2021-46666)

- mariadb: Integer overflow in sql_lex.cc integer leading to crash (CVE-2021-46667)

- mysql: InnoDB unspecified vulnerability (CPU Apr 2022) (CVE-2022-21451)

- mariadb: crash in Used_tables_and_const_cache::used_tables_and_const_cache_join (CVE-2022-27385)

- mariadb: improper locking due to unreleased lock in the ds_xbstream.cc (CVE-2022-31621)

- mariadb: DoS due to improper locking due to unreleased lock in plugin/server_audit/server_audit.c (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://access.redhat.com/security/cve/CVE-2021-2154

https://access.redhat.com/security/cve/CVE-2021-2166

https://access.redhat.com/security/cve/CVE-2021-2372

https://access.redhat.com/security/cve/CVE-2021-2389

https://access.redhat.com/security/cve/CVE-2021-35604

https://access.redhat.com/security/cve/CVE-2021-46657

https://access.redhat.com/security/cve/CVE-2021-46658

https://access.redhat.com/security/cve/CVE-2021-46662

https://access.redhat.com/security/cve/CVE-2021-46666

https://access.redhat.com/security/cve/CVE-2021-46667

https://access.redhat.com/security/cve/CVE-2022-21451

https://access.redhat.com/security/cve/CVE-2022-27385

https://access.redhat.com/security/cve/CVE-2022-31621

https://access.redhat.com/security/cve/CVE-2022-31624

https://access.redhat.com/errata/RHSA-2022:1557

https://bugzilla.redhat.com/1951752

https://bugzilla.redhat.com/1951755

https://bugzilla.redhat.com/1992303

https://bugzilla.redhat.com/1992309

https://bugzilla.redhat.com/2016101

https://bugzilla.redhat.com/2049294

https://bugzilla.redhat.com/2049305

https://bugzilla.redhat.com/2050019

https://bugzilla.redhat.com/2050028

https://bugzilla.redhat.com/2050030

https://bugzilla.redhat.com/2075001

https://bugzilla.redhat.com/2082651

https://bugzilla.redhat.com/2092353

https://bugzilla.redhat.com/2092362

Plugin Details

Severity: Medium

ID: 160228

File Name: redhat-RHSA-2022-1557.nasl

Version: 1.5

Type: local

Agent: unix

Published: 4/27/2022

Updated: 9/22/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2021-35604

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:rhel_aus:8.6, cpe:/o:redhat:rhel_e4s:8.6, cpe:/o:redhat:rhel_eus:8.6, cpe:/o:redhat:rhel_tus:8.6, p-cpe:/a:redhat:enterprise_linux:Judy, p-cpe:/a:redhat:enterprise_linux:galera, p-cpe:/a:redhat:enterprise_linux:mariadb, p-cpe:/a:redhat:enterprise_linux:mariadb-backup, p-cpe:/a:redhat:enterprise_linux:mariadb-common, p-cpe:/a:redhat:enterprise_linux:mariadb-devel, p-cpe:/a:redhat:enterprise_linux:mariadb-embedded, p-cpe:/a:redhat:enterprise_linux:mariadb-embedded-devel, p-cpe:/a:redhat:enterprise_linux:mariadb-errmsg, p-cpe:/a:redhat:enterprise_linux:mariadb-gssapi-server, p-cpe:/a:redhat:enterprise_linux:mariadb-oqgraph-engine, p-cpe:/a:redhat:enterprise_linux:mariadb-pam, p-cpe:/a:redhat:enterprise_linux:mariadb-server, p-cpe:/a:redhat:enterprise_linux:mariadb-server-galera, p-cpe:/a:redhat:enterprise_linux:mariadb-server-utils, p-cpe:/a:redhat:enterprise_linux:mariadb-test

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

Exploit Ease: No known 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

RHSA: 2022:1557

IAVA: 2021-A-0193, 2021-A-0333, 2021-A-0487

CWE: 20, 89, 190, 404, 667