Bug 2050024 (CVE-2021-46664)

Summary: CVE-2021-46664 mariadb: MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr
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 18:27:53 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, 2055755, 2055756, 2055757, 2055758, 2055759, 2055760, 2095291, 2096272, 2101778, 2107050, 2107072    
Bug Blocks: 2050193    

Description Avinash Hanwate 2022-02-03 04:37:17 UTC
MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr.

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

Comment 5 Mauro Matteo Cascella 2022-02-17 15:53:43 UTC
Created mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055755]


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

Affects: fedora-all [bug 2055756]


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

Affects: fedora-all [bug 2055757]


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

Affects: fedora-all [bug 2055758]


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

Affects: fedora-all [bug 2055759]


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

Affects: fedora-all [bug 2055760]

Comment 6 Mauro Matteo Cascella 2022-03-07 10:36:19 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/3a52569499e2f0c4d1f25db1e81617a9d9755400

Comment 7 errata-xmlrpc 2022-07-28 16:05:22 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 8 errata-xmlrpc 2022-08-02 10:09:24 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 9 errata-xmlrpc 2022-08-09 12:23:58 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 10 errata-xmlrpc 2022-09-01 14:17:46 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 11 errata-xmlrpc 2022-09-13 09:41:44 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 12 Product Security DevOps Team 2022-11-25 18:27:50 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-46664