CVEvulnerability
CVE-2022-31621
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-667
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 configurations
• mariadb mariadb (< 10.2.41)
• mariadb mariadb (>= 10.3.0 < 10.3.32)
• mariadb mariadb (>= 10.4.0 < 10.4.22)
• mariadb mariadb (>= 10.5.0 < 10.5.13)
• mariadb mariadb (>= 10.6.0 < 10.6.5)
Related
Weakness · CWE (1)
- CWE-667 Improper Locking weakness
References
- https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 Patch, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26574 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26574?filter=-2 Issue Tracking, Permissions Required, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/ Third Party Advisory
- https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8 Patch, Third Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26574 jira.mariadb.org
- https://jira.mariadb.org/browse/MDEV-26574?filter=-2 Issue Tracking, Permissions Required, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/ Third Party Advisory