CVE-2023-21873
MySQL vulnerability analysis and mitigation

Overview

CVE-2023-21873 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. The vulnerability affects MySQL Server versions 8.0.31 and prior. This security flaw was disclosed on January 18, 2023, as part of Oracle's Critical Patch Update (Oracle CPU, Ubuntu Security).

Technical details

The vulnerability is characterized as an easily exploitable flaw that allows high-privileged attackers with network access to compromise MySQL Server through multiple protocols. The vulnerability has been assigned a CVSS 3.1 Base Score of 4.9 (Medium severity), with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (Ubuntu Security).

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. The vulnerability affects only availability, with no impact on confidentiality or integrity (Ubuntu Security).

Exploitability

The vulnerability requires a high-privileged attacker with network access to exploit. The attack complexity is considered low, requiring no user interaction to execute. The attack can be performed via multiple protocols (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in MySQL version 8.0.32. Users are advised to upgrade to this version or later. For Ubuntu systems, fixed versions include 8.0.32-0ubuntu2 for various Ubuntu releases including 24.10, 24.04 LTS, 23.10, and 23.04. Ubuntu 22.04 LTS users should upgrade to 8.0.32-0buntu0.22.04.1, while Ubuntu 20.04 LTS users should upgrade to 8.0.32-0buntu0.20.04.1 (Ubuntu Security).

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-63385CRITICAL9.2
  • MySQL logoMySQL
  • libevent2.src
NoYesAug 20, 2026
CVE-2026-63384HIGH8.7
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63383HIGH8.7
  • MySQL logoMySQL
  • libevent-devel
NoYesAug 20, 2026
CVE-2026-63388HIGH8.4
  • MySQL logoMySQL
  • libevent
NoYesAug 20, 2026
CVE-2026-63387HIGH7
  • MySQL logoMySQL
  • libevent2.src
NoYesAug 20, 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