CVE-2024-20972
MySQL vulnerability analysis and mitigation

Overview

CVE-2024-20972 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.35 and prior, and 8.2.0 and prior. This is an easily exploitable vulnerability that allows high privileged attackers with network access via multiple protocols to compromise MySQL Server (Oracle Advisory).

Technical details

The vulnerability has been assigned a CVSS 3.1 Base Score of 4.9 (Medium) with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. The vulnerability requires high privileges and network access, but has low attack complexity and requires no user interaction. The scope is unchanged, with no impact on confidentiality or integrity, but high impact on availability (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 impact is primarily focused on system availability, with no direct impact on confidentiality or integrity (Oracle Advisory).

Exploitability

The vulnerability is considered easily exploitable by attackers with high privileges and network access through 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 the January 2024 Critical Patch Update. Users are strongly recommended to update to the patched versions of MySQL Server. The fix is included in MySQL version 8.0.36 (Red Hat Advisory).

Community reactions

The vulnerability was discovered and reported by researchers Jie Liang, Jingzhou Fu, and Zhiyong Wu of WingTecher Lab of Tsinghua University (Oracle Advisory).

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-server
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mysql-connector-j
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mysql-shell
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • mariadb1011
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mysql8.4-debuginfo
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