CVE-2021-46668
mariadb: MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements
Overview
Description
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | >=10.2.0, <10.2.43>=10.3.0, <10.3.34>=10.4.0, <10.4.24>=10.5.0, <10.5.15>=10.6.0, <10.6.7+1 more | 10.2.4310.3.3410.4.2410.5.1510.6.7 |
| Bitnami | mariadb-min | >=10.2.0, <10.2.43>=10.3.0, <10.3.34>=10.4.0, <10.4.24>=10.5.0, <10.5.15>=10.6.0, <10.6.7+1 more | 10.2.4310.3.3410.4.2410.5.1510.6.7 |
| Bitnami | mysql-client | >=10.2.0, <10.2.43>=10.3.0, <10.3.34>=10.4.0, <10.4.24>=10.5.0, <10.5.15>=10.6.0, <10.6.7+1 more | 10.2.4310.3.3410.4.2410.5.1510.6.7 |
Open a package to see all its vulnerabilities.
Operating systems · 51 fixes
Oracle Linux 2 releases · 4 packages
fixed 6
judy
galera
mariadb
mysql-selinux
| Release | Package | Fixed in |
|---|---|---|
| 8 | judy | 1.0.5-18.0.1.module+el8.3.0+9616+7a81225f |
| 8 | galera | 26.4.11-1.module+el8.6.0+20717+9b4a4c6e |
| 8 | mariadb +13 | 3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e |
| 9 | mysql-selinux | 1.0.5-1.el9_0 |
| 9 | galera | 26.4.11-1.0.1.el9_0 |
| 9 | mariadb +13 | 3:10.5.16-2.el9_0 |
Red Hat 4 releases · 6 packages
eol 1
fixed 14
mariadb
rh-mariadb103-mariadb
rh-mariadb105-mariadb
judy
galera
mysql-selinux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | mariadb +12 | eol | — |
| 7 | rh-mariadb103-mariadb +18 | 3:10.3.35-1.el7 | RHSA-2022:6306 |
| 7 | rh-mariadb105-mariadb +20 | 3:10.5.16-2.el7 | RHSA-2022:5759 |
| 8 (mariadb:10.3) | judy | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2022:6443 |
| 8 (mariadb:10.3) | galera | 0:25.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:6443 |
| 8 (mariadb:10.3) | mariadb +12 | 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 | RHSA-2022:6443 |
9 more rows
SUSE Linux Enterprise 2 releases · 2 packages
fixed 2
mariadb
libmariadbd-devel
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | mariadb +3 | 10.2.43-3.47.1 | SUSE-SU-2022:0782-1 |
| 15.4 | libmariadbd-devel +5 | 10.6.8-150400.3.7.1 | SUSE-SU-2022:2561-1 |
alma 2 releases · 4 packages
fixed 5
judy
galera
mariadb
mariadb-pam
| Release | Package | Fixed in |
|---|---|---|
| 8 (mariadb:10.5) | judy | 1.0.5-18.module_el8.6.0+3072+3c630e87 |
| 8 (mariadb:10.5) | galera | 25.3.35-1.module_el8.6.0+3265+230ed96b |
| 8 (mariadb:10.5) | mariadb +12 | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| 8 (mariadb:10.5) | mariadb-pam | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| 9 | mariadb +13 | 3:10.5.16-2.el9_0 |
alpine 4 releases · 1 package
fixed 4
mariadb
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | mariadb | 10.6.7-r0 |
| 3.23 | mariadb | 10.6.7-r0 |
| 3.24 | mariadb | 10.6.7-r0 |
| edge | mariadb | 10.6.7-r0 |
amazon linux 1 release · 1 package
fixed 1
mariadb105
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mariadb105 +27 | 3:10.5.16-1.amzn2023.0.7 |
debian 2 releases · 2 packages
fixed 2
mariadb-10-3
mariadb-10-5
| Release | Package | Fixed in |
|---|---|---|
| 10 | mariadb-10-3 | 1:10.3.34-0+deb10u1 |
| 11 | mariadb-10-5 | 1:10.5.15-0+deb11u1 |
openSUSE 1 release · 1 package
fixed 1
libmariadbd-devel
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libmariadbd-devel +9 | 10.7.3-1.1 | openSUSE-SU-2024:11867-1 |
rocky 4 releases · 4 packages
fixed 11
galera
mariadb
judy
mysql-selinux
| Release | Package | Fixed in |
|---|---|---|
| 8 | galera | 26.4.11-1.module+el8.6.0+995+5ac2a483 |
| 8 | mariadb +13 | 3:10.5.16-2.module+el8.6.0+995+5ac2a483 |
| 8 (mariadb:10.3) | judy | 1.0.5-18.module+el8.4.0+427+adf35707 |
| 8 (mariadb:10.3) | galera | 25.3.35-1.module+el8.6.0+1005+cdf19c22 |
| 8 (mariadb:10.3) | mariadb +12 | 3:10.3.35-1.module+el8.6.0+1005+cdf19c22 |
| 8 (mariadb:10.5) | judy | 1.0.5-18.module+el8.4.0+427+adf35707 |
5 more rows
root.io debian 1 release · 1 package
fixed 1
rootio-mariadb-10-5
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-mariadb-10-5 | 1:10.5.15-0+deb11u1 |
ubuntu 3 releases · 2 packages
fixed 3
mariadb-10-3
mariadb-10-6
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | mariadb-10-3 | 1:10.3.34-0ubuntu0.20.04.1 |
| 20.04-ESM | mariadb-10-3 | 1:10.3.34-0ubuntu0.20.04.1 |
| 22.04 | mariadb-10-6 | 1:10.6.7-2ubuntu1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:5948
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-46668
- bugzilla.redhat.com https://bugzilla.redhat.com/2049302
- bugzilla.redhat.com https://bugzilla.redhat.com/2050017
- bugzilla.redhat.com https://bugzilla.redhat.com/2050022
- bugzilla.redhat.com https://bugzilla.redhat.com/2050024
- bugzilla.redhat.com https://bugzilla.redhat.com/2050026
- bugzilla.redhat.com https://bugzilla.redhat.com/2050032
- bugzilla.redhat.com https://bugzilla.redhat.com/2050034
- bugzilla.redhat.com https://bugzilla.redhat.com/2068211
Show all 122 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2068233
- bugzilla.redhat.com https://bugzilla.redhat.com/2068234
- bugzilla.redhat.com https://bugzilla.redhat.com/2069833
- bugzilla.redhat.com https://bugzilla.redhat.com/2074817
- bugzilla.redhat.com https://bugzilla.redhat.com/2074947
- bugzilla.redhat.com https://bugzilla.redhat.com/2074949
- bugzilla.redhat.com https://bugzilla.redhat.com/2074951
- bugzilla.redhat.com https://bugzilla.redhat.com/2074966
- bugzilla.redhat.com https://bugzilla.redhat.com/2074981
- bugzilla.redhat.com https://bugzilla.redhat.com/2074987
- bugzilla.redhat.com https://bugzilla.redhat.com/2074996
- bugzilla.redhat.com https://bugzilla.redhat.com/2074999
- bugzilla.redhat.com https://bugzilla.redhat.com/2075005
- bugzilla.redhat.com https://bugzilla.redhat.com/2075006
- bugzilla.redhat.com https://bugzilla.redhat.com/2075691
- bugzilla.redhat.com https://bugzilla.redhat.com/2075692
- bugzilla.redhat.com https://bugzilla.redhat.com/2075693
- bugzilla.redhat.com https://bugzilla.redhat.com/2075694
- bugzilla.redhat.com https://bugzilla.redhat.com/2075695
- bugzilla.redhat.com https://bugzilla.redhat.com/2075696
- bugzilla.redhat.com https://bugzilla.redhat.com/2075697
- bugzilla.redhat.com https://bugzilla.redhat.com/2075699
- bugzilla.redhat.com https://bugzilla.redhat.com/2075700
- bugzilla.redhat.com https://bugzilla.redhat.com/2075701
- bugzilla.redhat.com https://bugzilla.redhat.com/2076144
- bugzilla.redhat.com https://bugzilla.redhat.com/2076145
- bugzilla.redhat.com https://bugzilla.redhat.com/2092354
- bugzilla.redhat.com https://bugzilla.redhat.com/2092360
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2049302
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050017
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050022
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050024
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050026
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050032
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050034
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2068211
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2068233
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2068234
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2069833
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074817
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074947
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074949
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074951
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074966
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074981
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074996
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074999
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075005
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075006
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075691
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075693
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075694
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075695
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075697
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2075700
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2076145
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2082644
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2092354
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2092360
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2104425
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2104431
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2104434
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2106008
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46659
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46661
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46663
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46664
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46665
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46668
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46669
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21427
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21595
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24048
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24050
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24051
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24052
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27376
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27377
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27378
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27379
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27380
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27381
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27383
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27384
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27386
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27387
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27445
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27447
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27448
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27449
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27452
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27456
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27458
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31622
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31623
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32083
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32085
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32087
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32088
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-5948.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:6443
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-25787
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-46668.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-6443.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- mariadb.com https://mariadb.com/kb/en/security/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-46668
- security.netapp.com https://security.netapp.com/advisory/ntap-20220221-0002/
- ubuntu.com https://ubuntu.com/security/notices/USN-5305-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-46668
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.