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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mariadb mariadb | 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.2 | NVD |
| 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.2 | Bitnami 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.2 | Bitnami 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.2 | Bitnami Vulnerability Database |
All scores
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://github.com/MariaDB/server/pull/1938 | advisory, patch, third-party-advisory | |
| https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94 | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20220707-0006/ | advisory, third-party-advisory | |
| https://jira.mariadb.org/browse/MDEV-26574 | web | |
| https://jira.mariadb.org/browse/MDEV-26561 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31623 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31623 changed 2024-10-29 | CVE Terms of Use |
| NVD | CVE-2022-31623 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2022-31623 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2022-31623 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2022-31623 changed 2026-09-08 | Apache-2.0 |