Bug 2049302 (CVE-2021-46659) - CVE-2021-46659 mariadb: Crash executing query with VIEW, aggregate and subquery
Summary: CVE-2021-46659 mariadb: Crash executing query with VIEW, aggregate and subquery
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-46659
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2055709 2055710 2055711 2055712 2055713 2055714 2068217 2068219 2078334 2090650 2090651 2095292 2096273 2101781 2107051 2107053
Blocks: 2049295
TreeView+ depends on / blocked
 
Reported: 2022-02-01 21:29 UTC by Todd Cullum
Modified: 2022-11-25 16:56 UTC (History)
23 users (show)

Fixed In Version: mariadb 10.2.42, mariadb 10.3.33, mariadb 10.4.23, mariadb 10.5.14, mariadb 10.6.6, mariadb 10.7.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-25 16:56:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5759 0 None None None 2022-07-28 16:05:11 UTC
Red Hat Product Errata RHSA-2022:5826 0 None None None 2022-08-02 10:08:47 UTC
Red Hat Product Errata RHSA-2022:5948 0 None None None 2022-08-09 12:23:49 UTC
Red Hat Product Errata RHSA-2022:6306 0 None None None 2022-09-01 14:17:35 UTC
Red Hat Product Errata RHSA-2022:6443 0 None None None 2022-09-13 09:41:38 UTC

Description Todd Cullum 2022-02-01 21:29:26 UTC
MariaDB before 10.7.2 allows an application crash because it does not recognize
that SELECT_LEX::nest_level is local to each VIEW.

Reference:
https://jira.mariadb.org/browse/MDEV-25631
https://bugzilla.suse.com/1195339

Comment 1 juneau 2022-02-03 16:29:27 UTC
Marking services-management-platform notaffected. Affected code is not present.
Marking openshift-hosted-osd3 affected/ooss.

Comment 2 Mauro Matteo Cascella 2022-02-17 14:57:52 UTC
Upstream patch:
http://lists.askmonty.org/pipermail/commits/2021-May/014606.html

Comment 3 Mauro Matteo Cascella 2022-02-17 15:00:05 UTC
Created mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055710]


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

Affects: fedora-all [bug 2055709]


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

Affects: fedora-all [bug 2055711]


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

Affects: fedora-all [bug 2055712]


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

Affects: fedora-all [bug 2055713]


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

Affects: fedora-all [bug 2055714]

Comment 5 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 6 errata-xmlrpc 2022-08-02 10:08:44 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 7 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 8 errata-xmlrpc 2022-09-01 14:17:32 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 9 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 10 Product Security DevOps Team 2022-11-25 16:56:00 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-46659


Note You need to log in before you can comment on or make changes to this bug.