Original 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 software
- MariaDB < 10.2.41≥ 10.6.0 < 10.6.5≥ 10.5.0 < 10.5.13≥ 10.4.0 < 10.4.22≥ 10.3.0 < 10.3.32 Fixed in: 10.2.41, 10.6.5, 10.5.13, 10.4.22 exact match
Details
- Published
- 2022-05-25
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-667
- EPSS (30-day exploit probability)
- 0.22% (percentile 13)
References
- cve.org/CVE-2022-31621
- nvd.nist.gov/vuln/detail/CVE-2022-31621
- github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8
- jira.mariadb.org/browse/MDEV-26561
- jira.mariadb.org/browse/MDEV-26574
- jira.mariadb.org/browse/MDEV-26574?filter=-2
- security.netapp.com/advisory/ntap-20220707-0006/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.