CVE-2021-2402
MySQL vulnerability analysis and mitigation

Overview

CVE-2021-2402 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Locking component. The vulnerability affects MySQL versions 8.0.25 and prior. This security issue was disclosed in July 2021 as part of Oracle's Critical Patch Update (Oracle Advisory).

Technical details

The vulnerability is classified as an easily exploitable security flaw that requires high privileged attacker access with network access via multiple protocols to compromise MySQL Server. 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 (NVD).

Impact

Successful exploitation of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. The vulnerability only affects the availability of the system, with no direct impact on confidentiality or integrity (Oracle Advisory).

Mitigation and workarounds

Oracle has released patches for this vulnerability in MySQL version 8.0.26. Users are strongly recommended to update to this version or later to address the security issue. The fix has been included in various distribution updates, including Ubuntu's MySQL packages 8.0.26-0ubuntu0.21.04.3 for Ubuntu 21.04 and 8.0.26-0ubuntu0.20.04.2 for Ubuntu 20.04 (Ubuntu Notice).

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-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mecab-devel
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab-ipadic-EUCJP
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql:8.4::mysql-common
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-8.4
NoYesOct 21, 2025

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