Bug 2050026 (CVE-2021-46665)

Summary: CVE-2021-46665 mariadb: MariaDB through 10.5.9 allows a sql_parse.cc application crash because of incorrect used_tables expectations
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:54:36 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, 2055761, 2055762, 2055763, 2055764, 2055765, 2055766, 2095291, 2096272, 2101778, 2107050, 2107072    
Bug Blocks: 2050193    

Description Avinash Hanwate 2022-02-03 04:41:02 UTC
MariaDB through 10.5.9 allows a sql_parse.cc application crash because of incorrect used_tables expectations.

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

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

Affects: fedora-all [bug 2055761]


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

Affects: fedora-all [bug 2055762]


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

Affects: fedora-all [bug 2055763]


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

Affects: fedora-all [bug 2055764]


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

Affects: fedora-all [bug 2055765]


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

Affects: fedora-all [bug 2055766]

Comment 7 Mauro Matteo Cascella 2022-03-07 10:28:21 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/3a52569499e2f0c4d1f25db1e81617a9d9755400

Comment 8 errata-xmlrpc 2022-07-28 16:05:33 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:36 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:49 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:51 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 18:54:34 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-46665