Bug 2050017 (CVE-2021-46661)

Summary: CVE-2021-46661 mariadb: MariaDB allows an application crash in find_field_in_tables and find_order_in_list via an unused common table expression (CTE)
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: damien.ciabrini, databases-maint, dbecker, dciabrin, gzaronik, hhorak, jjoyce, jorton, jschluet, lhh, ljavorsk, lpeer, mbayer, mburns, mkocka, mmuzila, mschorm, sclewis, slinaber, SpikeFedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mariadb 10.2.43, mariadb 10.3.34, mariadb 10.4.24, mariadb 10.5.15, mariadb 10.6.7, mariadb 10.7.3, mariadb 10.8.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-25 17:24:07 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: 2055605, 2055606, 2055607, 2055615, 2055619, 2055743, 2055744, 2055745, 2055746, 2055747, 2055748, 2095291, 2096272, 2101778, 2107050, 2107072    
Bug Blocks: 2050193    

Description Avinash Hanwate 2022-02-03 04:16:51 UTC
MariaDB through 10.5.9 allows an application crash in find_field_in_tables and find_order_in_list via an unused common table expression (CTE).

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

Comment 6 Mauro Matteo Cascella 2022-02-17 15:52:25 UTC
Created mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055743]


Created mariadb:10.3/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055744]


Created mariadb:10.4/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055745]


Created mariadb:10.5/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055746]


Created mariadb:10.6/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055747]


Created mariadb:10.7/mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055748]

Comment 7 Mauro Matteo Cascella 2022-03-07 10:34:10 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/0168d1eda30dad4b517659422e347175eb89e923

Comment 8 errata-xmlrpc 2022-07-28 16:05:08 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 9 errata-xmlrpc 2022-08-02 10:08:58 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 10 errata-xmlrpc 2022-08-09 12:23:46 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 11 errata-xmlrpc 2022-09-01 14:17:35 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 12 errata-xmlrpc 2022-09-13 09:41:35 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 13 Product Security DevOps Team 2022-11-25 17:24:04 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-2021-46661