CVEfocus › CVE database › CVE-2024-21062

CVE-2024-21062

CVSS 4.9 MediumEPSS 1.0% (higher than 60% of CVEs)Published 2024-04-16Updated 2025-03-28Assigner: oracle

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.36 and prior and 8.3.0 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).

CWE-400

What to do

Fixed builds are available from 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

3Fixed
6Fix pending
20Will not fix
66Not 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 26.04mariadbNot affected
vulnerable_code_not_present
Ubuntu 25.10mariadbNot affected
vulnerable_code_not_present
Ubuntu 24.04mariadbNot affected
vulnerable_code_not_present
Ubuntu 24.04mysql-8.0Fixed8.0.37-0ubuntu0.24.04.1UBUNTU-CVE-2024-21062
Ubuntu 22.04mariadb-10.6Not affected
vulnerable_code_not_present
Ubuntu 22.04mysql-8.0Fixed8.0.37-0ubuntu0.22.04.3UBUNTU-CVE-2024-21062
Ubuntu 20.04mariadb-10.3Fix pending
Ubuntu 20.04mysql-8.0Fixed8.0.37-0ubuntu0.20.04.3UBUNTU-CVE-2024-21062
Ubuntu 18.04mysql-5.7Fix pendingUBUNTU-CVE-2024-21062
Ubuntu 16.04mysql-5.7Fix pendingUBUNTU-CVE-2024-21062
Ubuntu 16.04percona-server-5.6Fix pendingUBUNTU-CVE-2024-21062
Ubuntu 16.04percona-xtradb-cluster-5.6Fix pendingUBUNTU-CVE-2024-21062
Ubuntu 14.04mysql-5.5Fix pendingUBUNTU-CVE-2024-21062
Red Hat Enterprise Linux 10mariadbNot affected
Red Hat Enterprise Linux 10mariadb-backupNot affected
Red Hat Enterprise Linux 10mariadb-client-utilsNot affected
Red Hat Enterprise Linux 10mariadb-commonNot affected
Red Hat Enterprise Linux 10mariadb-develNot affected
Red Hat Enterprise Linux 10mariadb-embeddedNot affected
Red Hat Enterprise Linux 10mariadb-embedded-develNot affected
Red Hat Enterprise Linux 10mariadb-errmsgNot affected
Red Hat Enterprise Linux 10mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 10mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 10mariadb-pamNot affected
Red Hat Enterprise Linux 10mariadb-serverNot affected
Red Hat Enterprise Linux 10mariadb-server-galeraNot affected
Red Hat Enterprise Linux 10mariadb-server-utilsNot affected
Red Hat Enterprise Linux 10mariadb-testNot affected
Red Hat Enterprise Linux 10mariadb10.11Not affected
Red Hat Enterprise Linux 10mysql8.0Will not fix
Will not fix
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 9mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-commonWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-develWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-errmsgWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-serverWill not fix
Will not fix
Red Hat Enterprise Linux 9mysql-testWill not fix
Will not fix
Red Hat Enterprise Linux 8JudyNot affected
Red Hat Enterprise Linux 8galeraNot affected
Red Hat Enterprise Linux 8mariadbNot affected
Red Hat Enterprise Linux 8mariadb-backupNot affected
Red Hat Enterprise Linux 8mariadb-commonNot affected
Red Hat Enterprise Linux 8mariadb-develNot affected
Red Hat Enterprise Linux 8mariadb-embeddedNot affected
Red Hat Enterprise Linux 8mariadb-embedded-develNot affected
Red Hat Enterprise Linux 8mariadb-errmsgNot affected
Red Hat Enterprise Linux 8mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 8mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 8mariadb-pamNot affected
Red Hat Enterprise Linux 8mariadb-serverNot affected
Red Hat Enterprise Linux 8mariadb-server-galeraNot affected
Red Hat Enterprise Linux 8mariadb-server-utilsNot affected
Red Hat Enterprise Linux 8mariadb-testNot affected
Red Hat Enterprise Linux 8mecabWill not fix
Will not fix
Red Hat Enterprise Linux 8mecab-develWill not fix
Will not fix
Red Hat Enterprise Linux 8mecab-ipadicWill not fix
Will not fix
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPWill not fix
Will not fix
Red Hat Enterprise Linux 8mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-commonWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-develWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-errmsgWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-serverWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-testWill not fix
Will not fix
Red Hat Enterprise Linux 8mysql-test-dataWill not fix
Will not fix
Red Hat Enterprise Linux 7mariadbNot affected
Red Hat Enterprise Linux 7mariadb-benchNot affected
Red Hat Enterprise Linux 7mariadb-develNot affected
Red Hat Enterprise Linux 7mariadb-embeddedNot affected
Red Hat Enterprise Linux 7mariadb-embedded-develNot affected
Red Hat Enterprise Linux 7mariadb-libsNot affected
Red Hat Enterprise Linux 7mariadb-serverNot affected
Red Hat Enterprise Linux 7mariadb-testNot affected
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

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.