Bug 2050030 (CVE-2021-46667)

Summary: CVE-2021-46667 mariadb: Integer overflow in sql_lex.cc integer leading to crash
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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.41, mariadb 10.3.32, mariadb 10.4.22, mariadb 10.5.13, mariadb 10.6.5, mariadb-10.7.1, mariadb-10.8.1 Doc Type: If docs needed, set a value
Doc Text:
An integer overflow vulnerability was found in MariaDB, where an invalid size of ref_pointer_array is allocated. This issue results in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-27 03:45:33 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: 2052887, 2052892, 2052893, 2052894, 2052895, 2055835, 2055836, 2055837, 2055838, 2055839, 2055840, 2081140, 2081367    
Bug Blocks: 2050193    

Description Avinash Hanwate 2022-02-03 04:48:11 UTC
MariaDB before 10.6.5 has a sql_lex.cc integer overflow, leading to an application crash.

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

Comment 3 Mauro Matteo Cascella 2022-02-17 18:47:36 UTC
Created mariadb tracking bugs for this issue:

Affects: fedora-all [bug 2055835]


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

Affects: fedora-all [bug 2055836]


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

Affects: fedora-all [bug 2055837]


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

Affects: fedora-all [bug 2055838]


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

Affects: fedora-all [bug 2055839]


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

Affects: fedora-all [bug 2055840]

Comment 4 Mauro Matteo Cascella 2022-03-07 11:01:35 UTC
Upstream commit:
https://github.com/MariaDB/server/commit/0dec71ca53729bd1a565bdc800e64008b44ffa48

Comment 5 errata-xmlrpc 2022-03-22 10:20:09 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:1007 https://access.redhat.com/errata/RHSA-2022:1007

Comment 6 errata-xmlrpc 2022-03-22 12:27:40 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:1010 https://access.redhat.com/errata/RHSA-2022:1010

Comment 7 errata-xmlrpc 2022-04-26 17:29:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1556 https://access.redhat.com/errata/RHSA-2022:1556

Comment 8 errata-xmlrpc 2022-04-26 17:30:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1557 https://access.redhat.com/errata/RHSA-2022:1557

Comment 9 Product Security DevOps Team 2022-04-27 03:45:30 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-46667

Comment 11 errata-xmlrpc 2022-05-31 12:16:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

Via RHSA-2022:4818 https://access.redhat.com/errata/RHSA-2022:4818