CVEfocus › CVE database › CVE-2021-2154

CVE-2021-2154

CVSS 4.9 MediumEPSS 2.6% (higher than 86% of CVEs)Published 2021-04-22Updated 2024-09-26Assigner: oracle

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 5.7.33 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

51Fixed
9Fix pending
8Will not fix
36Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 22.04mysql-8.0Not affected
vulnerable_code_not_present
Ubuntu 20.04mariadb-10.3Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 18.04mariadb-10.1Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 18.04mysql-5.7Fixed5.7.34-0ubuntu0.18.04.1UBUNTU-CVE-2021-2154
Ubuntu 16.04mariadb-10.0Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 16.04mysql-5.7Fix pending5.7.35-0ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-2154
Ubuntu 16.04percona-server-5.6Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 16.04percona-xtradb-cluster-5.6Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 14.04mysql-5.5Fix pendingUBUNTU-CVE-2021-2154
Ubuntu 14.04mysql-5.6Fix pending
Ubuntu 14.04percona-xtradb-cluster-5.5Fix pending
Red Hat Enterprise Linux 9mariadbNot affected
Red Hat Enterprise Linux 9mariadb-backupNot affected
Red Hat Enterprise Linux 9mariadb-commonNot affected
Red Hat Enterprise Linux 9mariadb-develNot affected
Red Hat Enterprise Linux 9mariadb-embeddedNot affected
Red Hat Enterprise Linux 9mariadb-embedded-develNot affected
Red Hat Enterprise Linux 9mariadb-errmsgNot affected
Red Hat Enterprise Linux 9mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 9mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 9mariadb-pamNot affected
Red Hat Enterprise Linux 9mariadb-serverNot affected
Red Hat Enterprise Linux 9mariadb-server-galeraNot affected
Red Hat Enterprise Linux 9mariadb-server-utilsNot affected
Red Hat Enterprise Linux 9mariadb-testNot affected
Red Hat Enterprise Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2022:1556
Red Hat Enterprise Linux 8galeraFixed0:25.3.34-4.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadbFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-backupFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-commonFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-develFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-embeddedFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-embedded-develFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-errmsgFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-gssapi-serverFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-pamFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-serverFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-server-galeraFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-server-utilsFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-testFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mecabNot affected
Red Hat Enterprise Linux 8mecab-develNot affected
Red Hat Enterprise Linux 8mecab-ipadicNot affected
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPNot affected
Red Hat Enterprise Linux 8mysqlNot affected
Red Hat Enterprise Linux 8mysql-commonNot affected
Red Hat Enterprise Linux 8mysql-develNot affected
Red Hat Enterprise Linux 8mysql-errmsgNot affected
Red Hat Enterprise Linux 8mysql-libsNot affected
Red Hat Enterprise Linux 8mysql-serverNot affected
Red Hat Enterprise Linux 8mysql-testNot affected
Red Hat Enterprise Linux 8mysql-test-dataNot affected
Red Hat Enterprise Linux 7mariadbWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-benchWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embedded-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-testWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 6mysql-benchNot affected
Red Hat Enterprise Linux 6mysql-develNot affected
Red Hat Enterprise Linux 6mysql-embeddedNot affected
Red Hat Enterprise Linux 6mysql-embedded-develNot affected
Red Hat Enterprise Linux 6mysql-libsNot affected
Red Hat Enterprise Linux 6mysql-serverNot affected
Red Hat Enterprise Linux 6mysql-testNot affected
AlmaLinux 8JudyFixed1.0.5-18.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8galeraFixed25.3.34-4.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8mariadbFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8mariadb-backupFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-commonFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-develFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-embeddedFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-embedded-develFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8mariadb-errmsgFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadb-gssapi-serverFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1557
AlmaLinux 8mariadb-oqgraph-engineFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-pamFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-serverFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1556
AlmaLinux 8mariadb-server-galeraFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1557
AlmaLinux 8mariadb-server-utilsFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-testFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
Rocky Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:1557
Rocky Linux 8galeraFixed0:25.3.34-4.module+el8.5.0+777+18007c86RLSA-2022:1557
Rocky Linux 8mariadbFixed3:10.3.32-2.module+el8.5.0+777+18007c86RLSA-2022:1557
Alpine Linux 3.24mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.23mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.22mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.21mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.20mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.19mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.18mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.17mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.16mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.15mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.14mariadbFixed10.5.11-r0ALPINE-CVE-2021-2154
Alpine Linux 3.13mariadbFixed10.5.10-r0ALPINE-CVE-2021-2154
Alpine Linux 3.12mariadbFixed10.4.19-r0ALPINE-CVE-2021-2154
Alpine Linux 3.11mariadbFixed10.4.19-r0ALPINE-CVE-2021-2154
Alpine Linux 3.10mariadbFixed10.3.29-r0ALPINE-CVE-2021-2154

What the vendor says

As published in the CVE record by oracle, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.