CVE-2021-46667
mariadb: Integer overflow in sql_lex.cc integer leading to crash
Overview
Description
MariaDB before 10.6.5 has a sql_lex.cc integer overflow, leading to an application crash.
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-190
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | <10.2.41>=10.3.0, <10.3.32>=10.4.0, <10.4.22>=10.5.0, <10.5.13>=10.6.0, <10.6.5 | 10.2.4110.3.3210.4.2210.5.1310.6.5 |
| Bitnami | mariadb-min | <10.2.41>=10.3.0, <10.3.32>=10.4.0, <10.4.22>=10.5.0, <10.5.13>=10.6.0, <10.6.5 | 10.2.4110.3.3210.4.2210.5.1310.6.5 |
| Bitnami | mysql-client | <10.2.41>=10.3.0, <10.3.32>=10.4.0, <10.4.22>=10.5.0, <10.5.13>=10.6.0, <10.6.5 | 10.2.4110.3.3210.4.2210.5.1310.6.5 |
Open a package to see all its vulnerabilities.
Operating systems · 45 fixes
Oracle Linux 1 release · 3 packages
fixed 3
judy
galera
mariadb
| Release | Package | Fixed in |
|---|---|---|
| 8 | judy | 1.0.5-18.0.1.module+el8.3.0+9616+7a81225f |
| 8 | galera | 26.4.9-4.module+el8.5.0+20630+d7805586 |
| 8 | mariadb +13 | 3:10.5.13-1.module+el8.5.0+20630+d7805586 |
Red Hat 3 releases · 7 packages
eol 1
fixed 16
mariadb
rh-mariadb103-galera
rh-mariadb105-galera
rh-mariadb103-mariadb
rh-mariadb105-mariadb
judy
+1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | mariadb +12 | eol | — |
| 7 | rh-mariadb103-galera | 0:25.3.34-4.el7 | RHSA-2022:1010 |
| 7 | rh-mariadb105-galera | 0:26.4.9-3.el7 | RHSA-2022:1007 |
| 7 | rh-mariadb103-mariadb +18 | 3:10.3.32-2.el7 | RHSA-2022:1010 |
| 7 | rh-mariadb105-mariadb +20 | 3:10.5.13-1.el7 | RHSA-2022:1007 |
| 8 (mariadb:10.3) | judy | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2022:1556 |
11 more rows
alma 2 releases · 3 packages
fixed 6
judy
galera
mariadb
| Release | Package | Fixed in |
|---|---|---|
| 8 (mariadb:10.3) | judy | 1.0.5-18.module_el8.5.0+2632+14ced695 |
| 8 (mariadb:10.3) | galera | 25.3.34-4.module_el8.5.0+2632+14ced695 |
| 8 (mariadb:10.3) | mariadb +12 | 3:10.3.32-2.module_el8.5.0+2632+14ced695 |
| 8 (mariadb:10.5) | judy | 1.0.5-18.module_el8.5.0+2637+d11efe18 |
| 8 (mariadb:10.5) | galera | 26.4.9-4.module_el8.5.0+2637+d11efe18 |
| 8 (mariadb:10.5) | mariadb +13 | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 |
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 |
rocky 2 releases · 3 packages
fixed 9
galera
mariadb
judy
| Release | Package | Fixed in |
|---|---|---|
| 8 | galera | 25.3.34-4.module+el8.5.0+777+18007c86 |
| 8 | galera | 26.4.9-4.module+el8.5.0+773+f75e97f7 |
| 8 | mariadb +12 | 3:10.3.32-2.module+el8.5.0+777+18007c86 |
| 8 | mariadb +13 | 3:10.5.13-1.module+el8.5.0+773+f75e97f7 |
| 8 (mariadb:10.3) | judy | 1.0.5-18.module+el8.4.0+427+adf35707 |
| 8 (mariadb:10.3) | galera | 25.3.34-4.module+el8.5.0+777+18007c86 |
3 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 2 releases · 1 package
fixed 2
mariadb-10-3
| 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 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:1557
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-46667
- bugzilla.redhat.com https://bugzilla.redhat.com/1951752
- bugzilla.redhat.com https://bugzilla.redhat.com/1951755
- bugzilla.redhat.com https://bugzilla.redhat.com/1981332
- bugzilla.redhat.com https://bugzilla.redhat.com/1992303
- bugzilla.redhat.com https://bugzilla.redhat.com/1992309
- bugzilla.redhat.com https://bugzilla.redhat.com/2016101
- bugzilla.redhat.com https://bugzilla.redhat.com/2049294
- bugzilla.redhat.com https://bugzilla.redhat.com/2049305
Show all 62 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2050019
- bugzilla.redhat.com https://bugzilla.redhat.com/2050028
- bugzilla.redhat.com https://bugzilla.redhat.com/2050030
- bugzilla.redhat.com https://bugzilla.redhat.com/2050515
- bugzilla.redhat.com https://bugzilla.redhat.com/2050524
- bugzilla.redhat.com https://bugzilla.redhat.com/2050542
- bugzilla.redhat.com https://bugzilla.redhat.com/2050546
- bugzilla.redhat.com https://bugzilla.redhat.com/2075001
- bugzilla.redhat.com https://bugzilla.redhat.com/2082651
- bugzilla.redhat.com https://bugzilla.redhat.com/2092353
- bugzilla.redhat.com https://bugzilla.redhat.com/2092362
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1951752
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1951755
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1981332
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1992303
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1992309
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2016101
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2049294
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2049305
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050019
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050028
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050030
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050515
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050524
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050542
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050546
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2154
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2166
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2372
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2389
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35604
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46657
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46658
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46662
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46666
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46667
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21451
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27385
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31621
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31624
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-1557.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:1557
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-26350
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-46667.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-1557.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-46667
- security.netapp.com https://security.netapp.com/advisory/ntap-20220221-0002/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-46667
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.