CVE-2022-31621
JSON

5.3medium

MariaDB Server before 10.7 is vulnerable to Denial of Service.

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-MARIADB-2022-31621BIT-MARIADB-MIN-2022-31621BIT-MYSQL-CLIENT-2022-31621

Description

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. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
mariadb mariadbbefore 10.2.41, from 10.3.0 before 10.3.32, from 10.4.0 before 10.4.22, from 10.5.0 before 10.5.13, from 10.6.0 before 10.6.5NVD
mariadb (Bitnami)before 10.2.41, from 10.3.0 before 10.3.32, from 10.4.0 before 10.4.22, from 10.5.0 before 10.5.13, from 10.6.0 before 10.6.5Bitnami Vulnerability Database
mariadb-min (Bitnami)before 10.2.41, from 10.3.0 before 10.3.32, from 10.4.0 before 10.4.22, from 10.5.0 before 10.5.13, from 10.6.0 before 10.6.5Bitnami Vulnerability Database
mysql-client (Bitnami)before 10.2.41, from 10.3.0 before 10.3.32, from 10.4.0 before 10.4.22, from 10.5.0 before 10.5.13, from 10.6.0 before 10.6.5Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasemedium rating

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.

NVD (es)

MariaDB Server versiones anteriores a 10.7, es vulnerable a una denegación de servicio. En el archivo xtra/mariabackup/ds_xbstream.cc, cuando es producido un error (stream_ctxt-)dest_file == NULL) mientras es ejecutado el método xbstream_open, el bloqueo mantenido no es liberado correctamente, lo que permite a usuarios locales desencadenar una denegación de servicio debido al bloqueo

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31621 changed 2024-10-30CVE Terms of Use
NVDCVE-2022-31621 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2022-31621 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2022-31621 changed 2026-09-10Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2022-31621 changed 2026-09-10Apache-2.0