Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mariadb | Mariadb | < 10.2.41 |
Related Weaknesses (CWE)
References
- https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4aPatchThird Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561
- https://jira.mariadb.org/browse/MDEV-26574
- https://jira.mariadb.org/browse/MDEV-26574?filter=-2Issue TrackingPermissions RequiredThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/Third Party Advisory
- https://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4aPatchThird Party Advisory
- https://jira.mariadb.org/browse/MDEV-26561
- https://jira.mariadb.org/browse/MDEV-26574
- https://jira.mariadb.org/browse/MDEV-26574?filter=-2Issue TrackingPermissions RequiredThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/Third Party Advisory
FAQ
What is CVE-2022-31621?
CVE-2022-31621 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2022-31621?
CVE-2022-31621 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31621?
Check the references section above for vendor advisories and patch information. Affected products include: Mariadb Mariadb.