Bug 2092353 (CVE-2022-31621)

Summary: CVE-2022-31621 mariadb: improper locking due to unreleased lock in the ds_xbstream.cc
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caswilli, damien.ciabrini, databases-maint, dciabrin, eglynn, hhorak, jburrell, jjoyce, jorton, kaycoth, lhh, ljavorsk, mbayer, mburns, mkocka, mmuzila, mschorm, SpikeFedora, spower
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: mariadb 10.9.1, mariadb 10.8.1, mariadb 10.7.1, mariadb 10.6.5, mariadb 10.5.13, mariadb 10.4.22, mariadb 10.3.32, mariadb 10.2.41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 11:49:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2052892, 2052893, 2052894, 2052895, 2055836, 2055837, 2081140, 2081367    
Bug Blocks: 2092368    

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


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