CVE-2022-31623
JSON

5.5medium

MariaDB Server before 10.7 is vulnerable to Denial of Service.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-MARIADB-2022-31623BIT-MARIADB-MIN-2022-31623BIT-MYSQL-CLIENT-2022-31623

Description

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2NVD
mariadb (Bitnami)before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2Bitnami Vulnerability Database
mariadb-min (Bitnami)before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2Bitnami Vulnerability Database
mysql-client (Bitnami)before 10.2.42, from 10.3.0 before 10.3.33, from 10.4.0 before 10.4.23, from 10.5.0 before 10.5.14, from 10.6.0 before 10.6.6, from 10.7.0 before 10.7.2Bitnami Vulnerability Database

All scores

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_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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 extra/mariabackup/ds_compress.cc, cuando es producido un error (es decir, pasa a la etiqueta err) mientras es ejecutado el método create_worker_threads, el bloqueo retenido thd-)ctrl_mutex 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-31623 changed 2024-10-29CVE Terms of Use
NVDCVE-2022-31623 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2022-31623 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2022-31623 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2022-31623 changed 2026-09-08Apache-2.0