The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-21982

CVE-2023-21982: Oracle MySQL Server Optimizer DoS Flaw

CVE-2023-21982 is a denial of service vulnerability in Oracle MySQL Server's Optimizer component affecting versions 8.0.32 and earlier. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-21982 Overview

CVE-2023-21982 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. This vulnerability allows a high privileged attacker with network access via multiple protocols to compromise MySQL Server, resulting in a complete denial of service condition through a hang or frequently repeatable crash.

Critical Impact

Successful exploitation enables attackers to cause complete denial of service (DoS) of MySQL Server, disrupting database availability for all dependent applications and services.

Affected Products

  • Oracle MySQL Server 8.0.32 and prior versions
  • MySQL deployments accessible via network protocols
  • Systems utilizing the MySQL Server Optimizer component

Discovery Timeline

  • April 18, 2023 - CVE-2023-21982 published to NVD
  • April 2023 - Oracle releases security patch in Critical Patch Update
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21982

Vulnerability Analysis

This vulnerability resides within the Optimizer component of MySQL Server, which is responsible for determining the most efficient execution plan for SQL queries. The flaw is classified as easily exploitable, meaning that once an attacker has the required high-level privileges and network access, exploitation requires minimal complexity.

The vulnerability's impact is limited to availability—there is no compromise of data confidentiality or integrity. However, the ability to cause a complete denial of service means that database-dependent applications can be rendered inoperable during an attack.

Root Cause

The root cause stems from improper handling within the MySQL Server Optimizer component. While Oracle has not disclosed specific technical details about the underlying flaw (classified as NVD-CWE-noinfo), the vulnerability allows specially crafted operations to trigger a crash or hang condition in the server process.

The Optimizer component processes complex query plans and resource allocation decisions. Malformed or maliciously crafted queries exploiting this vulnerability can cause the optimizer to enter an unstable state, leading to service disruption.

Attack Vector

The attack requires network access to the MySQL Server and high-level privileges (such as administrative or DBA-level access). An authenticated attacker can leverage multiple protocols supported by MySQL to reach the vulnerable Optimizer component.

The attack scenario involves:

  1. Attacker gains high-privileged access to the MySQL Server (e.g., compromised admin credentials or insider threat)
  2. Attacker connects to the MySQL Server via network protocols
  3. Attacker executes operations that trigger the vulnerable code path in the Optimizer
  4. MySQL Server experiences a hang or crash, resulting in complete denial of service
  5. Service remains unavailable until manually restarted or recovered

No public proof-of-concept exploits have been identified for this vulnerability, and it is not currently listed in CISA's Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2023-21982

Indicators of Compromise

  • Unexpected MySQL Server crashes or hangs without clear system resource exhaustion
  • Abnormal query patterns from high-privileged accounts, particularly complex optimizer-intensive queries
  • Repeated service restarts or recovery events in MySQL error logs
  • Unusual network connections to MySQL ports from unexpected sources

Detection Strategies

  • Monitor MySQL error logs for crash signatures related to the Optimizer component
  • Implement query logging and analysis for anomalous patterns from privileged accounts
  • Deploy database activity monitoring (DAM) solutions to track privileged user actions
  • Configure alerting for MySQL service availability and unexpected restarts

Monitoring Recommendations

  • Enable MySQL general query log or slow query log for forensic analysis during incidents
  • Implement real-time monitoring of MySQL Server process health and availability
  • Track authentication events for high-privileged accounts and correlate with query activity
  • Set up automated alerting for MySQL service state changes and crash events

How to Mitigate CVE-2023-21982

Immediate Actions Required

  • Upgrade MySQL Server to a patched version released after April 2023
  • Audit and restrict high-privileged account access to only essential personnel
  • Implement network segmentation to limit MySQL Server exposure
  • Review and enforce the principle of least privilege for database accounts

Patch Information

Oracle has addressed this vulnerability in the April 2023 Critical Patch Update. Organizations should upgrade to MySQL Server versions released after 8.0.32 to remediate this vulnerability. Detailed patch information is available in the Oracle Critical Patch Update Advisory.

Additional vendor guidance is available from the NetApp Security Advisory for environments utilizing NetApp products with MySQL dependencies.

Workarounds

  • Restrict network access to MySQL Server using firewall rules to allow only trusted IP addresses
  • Implement strong authentication mechanisms and credential management for privileged accounts
  • Enable MySQL audit logging to detect and investigate suspicious privileged account activity
  • Consider deploying a database firewall to filter potentially malicious queries before they reach the server
bash
# Example: Restrict MySQL network access using firewall rules
# Allow MySQL connections only from trusted application servers
iptables -A INPUT -p tcp --dport 3306 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Verify MySQL version to confirm patch status
mysql --version
# Ensure version is greater than 8.0.32

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOracle Mysql

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory
  • Vendor Resources
  • Oracle Critical Patch Update
  • Related CVEs
  • CVE-2025-21543: Oracle MySQL Cluster DOS Vulnerability

  • CVE-2025-21521: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21518: Oracle MySQL Cluster DoS Vulnerability

  • CVE-2025-21574: Oracle MySQL Cluster DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English