CVE-2022-31623
Last modified
CVE-2022-31623 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex is not released correctly, which allows local users to trigger a denial of service due to the deadlock. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mariadb | Mariadb | < 10.2.42 |
| Mariadb | Mariadb | >= 10.3.0, < 10.3.33 |
| Mariadb | Mariadb | >= 10.4.0, < 10.4.23 |
| Mariadb | Mariadb | >= 10.5.0, < 10.5.14 |
| Mariadb | Mariadb | >= 10.6.0, < 10.6.6 |
| Mariadb | Mariadb | >= 10.7.0, < 10.7.2 |
References
- https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94Patch, Third Party Advisory
- https://github.com/MariaDB/server/pull/1938Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/Third Party Advisory
- https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94Patch, Third Party Advisory
- https://github.com/MariaDB/server/pull/1938Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0006/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31623?
How severe is CVE-2022-31623?
How do I fix CVE-2022-31623?
Are you affected by CVE-2022-31623?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
