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 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MARIADB-2022-31622BIT-MARIADB-MIN-2022-31622BIT-MYSQL-CLIENT-2022-31622
Description
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create returns a nonzero value) while executing the method create_worker_threads, 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 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
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 (pthread_create returns a nonzero value) while executing the method create_worker_threads, 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 extra/mariabackup/ds_compress.cc, cuando es producido un error (pthread_create devuelve un valor distinto de cero) mientras es ejecutado el método create_worker_threads, el bloqueo retenido no es liberado correctamente, lo que permite a usuarios locales desencadenar una denegación de servicio debido al bloqueo
References
| https://jira.mariadb.org/browse/MDEV-26561?filter=-2 | advisory, issue-tracking, permissions-required, third-party-advisory | |
| https://github.com/MariaDB/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2 | 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-31622 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31622 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-31622 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2022-31622 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2022-31622 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2022-31622 changed 2026-09-08 | Apache-2.0 |