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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mariadb mariadb | 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.5 | NVD |
| 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.5 | Bitnami 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.5 | Bitnami 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.5 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| 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_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
| https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 | advisory, patch, third-party-advisory | |
| https://jira.mariadb.org/browse/MDEV-26574?filter=-2 | advisory, issue-tracking, permissions-required, 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-31621 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31621 changed 2024-10-30 | CVE Terms of Use |
| NVD | CVE-2022-31621 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2022-31621 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2022-31621 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2022-31621 changed 2026-09-10 | Apache-2.0 |