Bug 2092360 (CVE-2022-31623) - CVE-2022-31623 mariadb: improper locking due to the unreleased lock in extra/mariabackup/ds_compress.cc
Summary: CVE-2022-31623 mariadb: improper locking due to the unreleased lock in extra/...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-31623
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2055709 2055711 2068217 2068219 2078334 2090650 2090651 2095292 2096273 2101781 2107051 2107053
Blocks: 2092368
TreeView+ depends on / blocked
 
Reported: 2022-06-01 10:39 UTC by TEJ RATHI
Modified: 2022-11-26 07:24 UTC (History)
19 users (show)

Fixed In Version: mariadb 10.7.2, mariadb 10.6.6, mariadb 10.5.14, mariadb 10.4.23, mariadb 10.3.33, mariadb 10.2.42
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-26 07:24:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5759 0 None None None 2022-07-28 16:08:16 UTC
Red Hat Product Errata RHSA-2022:5826 0 None None None 2022-08-02 10:12:57 UTC
Red Hat Product Errata RHSA-2022:5948 0 None None None 2022-08-09 12:27:31 UTC
Red Hat Product Errata RHSA-2022:6306 0 None None None 2022-09-01 14:21:03 UTC
Red Hat Product Errata RHSA-2022:6443 0 None None None 2022-09-13 09:43:37 UTC

Description TEJ RATHI 2022-06-01 10:39:38 UTC
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.

https://jira.mariadb.org/browse/MDEV-26561
https://github.com/MariaDB/server/pull/1938
https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94

Comment 1 errata-xmlrpc 2022-07-28 16:08:14 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:5759 https://access.redhat.com/errata/RHSA-2022:5759

Comment 2 errata-xmlrpc 2022-08-02 10:12:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5826 https://access.redhat.com/errata/RHSA-2022:5826

Comment 3 errata-xmlrpc 2022-08-09 12:27:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5948 https://access.redhat.com/errata/RHSA-2022:5948

Comment 4 errata-xmlrpc 2022-09-01 14:21:01 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:6306 https://access.redhat.com/errata/RHSA-2022:6306

Comment 5 errata-xmlrpc 2022-09-13 09:43:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:6443 https://access.redhat.com/errata/RHSA-2022:6443

Comment 6 Product Security DevOps Team 2022-11-26 07:24:18 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-31623


Note You need to log in before you can comment on or make changes to this bug.