Bug 2075001 (CVE-2022-27385)

Summary: CVE-2022-27385 mariadb: crash in Used_tables_and_const_cache::used_tables_and_const_cache_join
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, gzaronik, hhorak, jburrell, jjoyce, jorton, kaycoth, lhh, ljavorsk, mbayer, mburns, mkocka, mmuzila, mschorm, SpikeFedora, spower
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mariadb 10.6.5, mariadb 10.5.13, mariadb 10.4.22, mariadb 10.3.32 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in MariaDB. An issue in the component, Used_tables_and_const_cache::used_tables_and_const_cache_join, of the MariaDB Server v10.7 allows attackers to cause a denial of service (DoS) via specially crafted SQL statements, impacting availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-31 15:15:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2052892, 2052893, 2052894, 2052895, 2055836, 2055837, 2081140, 2081367    
Bug Blocks: 2075026    

Description TEJ RATHI 2022-04-13 11:54:05 UTC
An issue in the component Used_tables_and_const_cache::used_tables_and_const_cache_join of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements.

https://jira.mariadb.org/browse/MDEV-26415

Comment 1 Mauro Matteo Cascella 2022-05-24 13:50:26 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/ff77a09bda884fe6bf3917eb29b9d3a2f53f919b

Comment 2 errata-xmlrpc 2022-05-31 12:16:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

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

Comment 3 Product Security DevOps Team 2022-05-31 15:15:19 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-27385