CVE-2023-21875
MySQL vulnerability analysis and mitigation

Overview

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

Technical details

The vulnerability is classified as difficult to exploit and requires a high-privileged attacker with network access via multiple protocols to compromise MySQL Server. The vulnerability has a CVSS 3.1 Base Score of 5.9 (Medium severity) with the following vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H, indicating Network attack vector, High attack complexity, High privileges required, No user interaction, Unchanged scope, and High impact on both Integrity and Availability but No impact on Confidentiality (NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all MySQL Server accessible data. Additionally, it can lead to unauthorized ability to cause a hang or frequently repeatable crash, resulting in a complete denial of service (DOS) of MySQL Server (Oracle CPU).

Exploitability

The vulnerability is characterized as difficult to exploit and requires an attacker to have high privileges and network access through multiple protocols. The high attack complexity and privilege requirements serve as mitigating factors that make successful exploitation more challenging (NVD).

Mitigation and workarounds

Oracle has released security patches to address this vulnerability in the January 2023 Critical Patch Update. Users are advised to update to MySQL versions newer than 8.0.31. For Ubuntu users, MySQL has been updated to version 8.0.32 in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10 (Red Hat Portal).

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