Bug 2050032 (CVE-2021-46668)

Summary: CVE-2021-46668 mariadb: MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements
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.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 19:24:24 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, 2055744, 2055768, 2055769, 2055770, 2055771, 2055772, 2055773, 2095291, 2096272, 2101778, 2107050, 2107072    
Bug Blocks: 2050193    

Description Avinash Hanwate 2022-02-03 04:51:14 UTC
MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.

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

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

Affects: fedora-all [bug 2055768]


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

Affects: fedora-all [bug 2055769]


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

Affects: fedora-all [bug 2055770]


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

Affects: fedora-all [bug 2055771]


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

Affects: fedora-all [bug 2055772]


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

Affects: fedora-all [bug 2055773]

Comment 7 Mauro Matteo Cascella 2022-03-07 10:27:14 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/9e39d0ae44595dbd1570805d97c9c874778a6be8

Comment 8 errata-xmlrpc 2022-07-28 16:05:35 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:09:49 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:24:11 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:50 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:52 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 19:24:22 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-46668