Improper Locking Affecting mariadb package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-MARIADB-2860986
- published 7 Jun 2022
- disclosed 7 Sep 2021
Introduced: 7 Sep 2021
CVE-2022-31623 Open this link in a new tabHow to fix?
There is no fixed version for Centos:7 mariadb.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mariadb package and not the mariadb package as distributed by Centos.
See How to fix? for Centos:7 relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2022-31623
- https://access.redhat.com/errata/RHSA-2022:5826
- https://access.redhat.com/errata/RHSA-2022:5948
- https://access.redhat.com/errata/RHSA-2022:6443
- https://github.com/MariaDB/server/pull/1938
- https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94
- https://security.netapp.com/advisory/ntap-20220707-0006/
- https://jira.mariadb.org/browse/MDEV-26561
- https://jira.mariadb.org/browse/MDEV-26574