CVE-2021-2304
MySQL vulnerability analysis and mitigation

Overview

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored Procedure) affecting versions 8.0.23 and prior. This vulnerability allows high privileged attackers with network access via multiple protocols to compromise MySQL Server (Oracle Advisory, MITRE).

Technical details

The vulnerability has a CVSS 3.1 Base Score of 5.5 (Medium) with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H. The attack requires network access and high privileges, but has low attack complexity and requires no user interaction (NVD).

Impact

Successful exploitation can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server as well as unauthorized update, insert or delete access to some of MySQL Server accessible data (Oracle Advisory).

Exploitability

The vulnerability is considered easily exploitable by attackers with high privileges and network access via multiple protocols. The attack requires low complexity but high privileges to execute (NVD).

Mitigation and workarounds

Oracle has released patches to address this vulnerability in MySQL version 8.0.25. Ubuntu users should upgrade to mysql-server-8.0 version 8.0.25-0ubuntu0.21.04.1 for Ubuntu 21.04, version 8.0.25-0ubuntu0.20.10.1 for Ubuntu 20.10, and version 8.0.25-0ubuntu0.20.04.1 for Ubuntu 20.04 LTS (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-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql:8.4::mysql-errmsg
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mariadb114
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mysql-errmsg
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_cluster
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mecab
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