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
    • 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-21913

CVE-2023-21913: Oracle MySQL Server DoS Vulnerability

CVE-2023-21913 is a denial of service vulnerability in Oracle MySQL Server's Optimizer component affecting versions 8.0.31 and prior. Attackers with high privileges can crash the server remotely. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-21913 Overview

CVE-2023-21913 is a Denial of Service 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 an unauthorized ability to cause a hang or frequently repeatable crash of the MySQL Server.

Critical Impact

Successful exploitation of this vulnerability can result in a complete Denial of Service (DoS) of MySQL Server, causing significant availability impacts to database operations and dependent applications.

Affected Products

  • Oracle MySQL Server version 8.0.31 and prior
  • Oracle MySQL Server deployments accessible via network protocols
  • Systems using MySQL Server with the Optimizer component enabled

Discovery Timeline

  • April 18, 2023 - CVE-2023-21913 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21913

Vulnerability Analysis

This vulnerability resides in the Server: Optimizer component of Oracle MySQL Server. The Optimizer is a critical component responsible for determining the most efficient execution plan for SQL queries. When exploited, the vulnerability allows an authenticated attacker with high privileges to trigger conditions that cause the MySQL Server to hang or crash repeatedly.

The attack requires network access and can be executed via multiple protocols supported by MySQL Server. While the vulnerability requires high privileges to exploit, the ease of exploitation combined with the severe availability impact makes it a significant concern for database administrators managing MySQL deployments.

Root Cause

The vulnerability stems from improper handling within the MySQL Server Optimizer component. While Oracle has not disclosed specific technical details about the root cause, the vulnerability classification indicates an issue in how the Optimizer processes certain inputs or query patterns, leading to resource exhaustion or unhandled error conditions that result in server instability.

Attack Vector

The attack vector for CVE-2023-21913 involves network-based exploitation through protocols supported by MySQL Server. An attacker with high-level privileges (such as database administrator credentials) can send specially crafted requests or queries that trigger the vulnerability in the Optimizer component.

The vulnerability is characterized by:

  • Network accessibility: The attack can be conducted remotely over the network
  • High privilege requirement: Attacker must possess elevated database privileges
  • No user interaction: Exploitation does not require any action from other users
  • Availability impact: Complete denial of service is achievable

Due to the nature of this vulnerability and responsible disclosure practices, specific exploitation techniques are not being detailed. The vulnerability mechanism involves triggering abnormal behavior in the query optimizer that leads to server crashes or hangs. For technical details, refer to the Oracle Security Alert.

Detection Methods for CVE-2023-21913

Indicators of Compromise

  • Unexpected MySQL Server crashes or restarts without apparent system resource issues
  • Repeated server hangs during query optimization phases
  • Anomalous query patterns from privileged database accounts
  • Error logs showing optimizer-related failures or exceptions

Detection Strategies

  • Monitor MySQL error logs for unexpected crashes or hangs related to query optimization
  • Implement database activity monitoring (DAM) to detect unusual query patterns from privileged accounts
  • Configure alerting for MySQL Server availability issues and unexpected restarts
  • Review audit logs for privileged account activity that precedes server instability

Monitoring Recommendations

  • Enable comprehensive MySQL Server logging including error logs and slow query logs
  • Implement real-time monitoring of MySQL Server availability and performance metrics
  • Set up automated alerts for repeated server crashes or extended hang conditions
  • Monitor network traffic to MySQL ports for anomalous connection patterns from privileged sources

How to Mitigate CVE-2023-21913

Immediate Actions Required

  • Upgrade MySQL Server to a version newer than 8.0.31 that contains the security fix
  • Review and restrict high-privilege database account access to trusted administrators only
  • Implement network segmentation to limit access to MySQL Server from untrusted networks
  • Enable enhanced logging to detect potential exploitation attempts

Patch Information

Oracle has addressed this vulnerability in their April 2023 Critical Patch Update. Administrators should upgrade to MySQL Server versions released after 8.0.31 to remediate this vulnerability. The official security advisory is available at the Oracle Security Alert CPUAPR2023.

Additional vendor advisories:

  • NetApp Security Advisory NTAP-20230427-0007

Workarounds

  • Restrict network access to MySQL Server using firewall rules to allow only trusted IP addresses
  • Implement additional authentication controls for privileged database accounts
  • Monitor and audit all privileged database account activity
  • Consider implementing a database activity monitoring solution for real-time threat detection
bash
# Example: Restrict MySQL network access using firewall rules (iptables)
# Allow MySQL connections only from trusted internal network
iptables -A INPUT -p tcp --dport 3306 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Review privileged MySQL accounts
mysql -u root -p -e "SELECT user, host FROM mysql.user WHERE Super_priv='Y';"

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 Server

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.17%

  • 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 NTAP-20230427-0007
  • Vendor Resources
  • Oracle Security Alert CPUAPR2023
  • Related CVEs
  • CVE-2025-21559: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21555: Oracle MySQL Server DOS Vulnerability

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

  • CVE-2025-21505: Oracle MySQL Server 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