CBL Mariner 2.0 Security Update: mariadb (CVE-2022-31621)

medium Nessus Plugin ID 173504

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of mariadb installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2022-31621 advisory.

- 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)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2022-31621

Plugin Details

Severity: Medium

ID: 173504

File Name: mariner_mariadb_CVE-2022-31621.nasl

Version: 1.0

Type: local

Published: 3/28/2023

Updated: 3/28/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2022-31621

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:mariadb-debuginfo, p-cpe:/a:microsoft:cbl-mariner:mariadb-devel, p-cpe:/a:microsoft:cbl-mariner:mariadb-server, p-cpe:/a:microsoft:cbl-mariner:mariadb-server-galera, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:mariadb, p-cpe:/a:microsoft:cbl-mariner:mariadb-errmsg

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/10/2022

Vulnerability Publication Date: 5/25/2022

Reference Information

CVE: CVE-2022-31621