Bug 2074999 (CVE-2022-27384)

Summary: CVE-2022-27384 mariadb: crash via component Item_subselect::init_expr_cache_tracker
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.8.3, mariadb 10.7.4, mariadb 10.6.8, mariadb 10.5.16, mariadb 10.4.25, mariadb 10.3.35, mariadb 10.2.44 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in MariaDB. An issue in the component, Item_subselect::init_expr_cache_tracker of the MariaDB Server, allows attackers to cause a denial of service (DoS) via specially crafted SQL statements, impacting availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-26 02:14:18 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: 2083246, 2083249, 2089977, 2089980, 2090192, 2090831, 2090832, 2090833, 2090834, 2090839, 2090845, 2096275, 2096280, 2101779, 2107052, 2107074    
Bug Blocks: 2075026    

Description TEJ RATHI 2022-04-13 11:49:43 UTC
An issue in the component Item_subselect::init_expr_cache_tracker of MariaDB Server v10.6 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-26047

Comment 1 Mauro Matteo Cascella 2022-05-24 13:46:45 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/5100b20b15edd93200f34a79d25f1b14e46a677e

Comment 5 Mauro Matteo Cascella 2022-05-26 16:03:02 UTC
Created mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090831]

Comment 6 Mauro Matteo Cascella 2022-05-26 16:08:35 UTC
Created mariadb:10.5/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090832]

Comment 7 Mauro Matteo Cascella 2022-05-26 16:20:10 UTC
Created mariadb:10.3/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090833]

Comment 8 Mauro Matteo Cascella 2022-05-26 16:28:01 UTC
Created mariadb:10.4/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090834]

Comment 9 Mauro Matteo Cascella 2022-05-26 16:37:49 UTC
Created mariadb:10.6/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090839]

Comment 10 Mauro Matteo Cascella 2022-05-26 16:56:26 UTC
Created mariadb:10.7/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2090845]

Comment 11 errata-xmlrpc 2022-07-28 16:07:02 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 12 errata-xmlrpc 2022-08-02 10:11:16 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 13 errata-xmlrpc 2022-08-09 12:25:43 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 14 errata-xmlrpc 2022-09-01 14:19:31 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 15 errata-xmlrpc 2022-09-13 09:42:47 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 17 Product Security DevOps Team 2022-11-26 02:14:15 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-27384