CVE-2024-21201
MySQL vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-21201) was discovered in Oracle MySQL Server's Optimizer component. The affected versions include MySQL Server 8.0.39 and prior, 8.4.2 and prior, and 9.0.1 and prior. This vulnerability allows high-privileged attackers with network access to compromise MySQL Server through multiple protocols (Oracle CPU Oct 2024).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 4.9 (Medium severity). The CVSS vector is CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility, low attack complexity, high privileges required, no user interaction needed, unchanged scope, and high impact on availability (NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash, leading to a complete denial of service (DoS) of MySQL Server (Oracle CPU Oct 2024).

Exploitability

The vulnerability is considered easily exploitable but requires high privileges and network access via multiple protocols. The attacker must have valid authentication credentials to exploit this vulnerability (NVD).

Mitigation and workarounds

Oracle has released patches to address this vulnerability in the October 2024 Critical Patch Update. Users are advised to update to MySQL version 8.0.40 or later. Ubuntu has also released fixed versions: 8.0.40-0ubuntu0.24.10.1, 8.0.40-0ubuntu0.24.04.1, 8.0.40-0ubuntu0.22.04.1, and 8.0.40-0ubuntu0.20.04.1 (Ubuntu Security).

Community reactions

The vulnerability was reported by multiple security researchers including HoraceYang of Tencent Security YUNDING LAB, Xiaodong Qi of Shui Mu Yu Lin, and Yuanyi Li of Shui Mu Yu Lin (Oracle CPU Oct 2024).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql8.4-errmsg
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mysql-shell
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mysql-connector-j
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • mariadb
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mysql8.4-errmsg
NoYesJul 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management