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-21977

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

CVE-2023-21977 is a denial-of-service vulnerability in Oracle MySQL Server's Optimizer component affecting version 8.0.32 and earlier. Attackers with high privileges can crash the server. This article covers technical details.

Published: February 4, 2026

CVE-2023-21977 Overview

CVE-2023-21977 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. This easily exploitable 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 (complete denial of service) of the MySQL Server.

Critical Impact

Successful exploitation allows attackers with administrative privileges to cause complete denial of service, resulting in database unavailability and potential business disruption.

Affected Products

  • Oracle MySQL Server version 8.0.32 and prior
  • Oracle MySQL (all editions with Server: Optimizer component)
  • Systems running affected MySQL versions with network exposure

Discovery Timeline

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

Technical Details for CVE-2023-21977

Vulnerability Analysis

This vulnerability resides in the Server: Optimizer component of MySQL Server, which is responsible for query optimization and execution plan generation. The flaw allows a privileged attacker to trigger conditions that cause the database server to hang or crash repeatedly. While the vulnerability requires high privileges (such as database administrator access), it can be exploited remotely over the network through standard MySQL protocols.

The attack does not require user interaction and can be executed with low complexity once the attacker has established authenticated access with sufficient privileges. The impact is limited to availability—there is no unauthorized access to or modification of data.

Root Cause

The vulnerability stems from improper handling within the query optimizer component. When certain query patterns or optimization scenarios are processed, the optimizer fails to properly manage resources or handle edge cases, leading to a denial of service condition. The specific technical details have not been fully disclosed by Oracle, as indicated by the CWE classification of NVD-CWE-noinfo.

Attack Vector

The attack vector is network-based, meaning an attacker can exploit this vulnerability remotely without physical access to the target system. The attacker must have high privileges on the MySQL Server (such as administrative or DBA-level access) to execute the attack. Once these conditions are met, the attacker can send specially crafted queries or commands through multiple supported protocols to trigger the denial of service condition.

The exploitation does not require any interaction from legitimate users, making it a reliable attack vector for disrupting database availability once administrative access has been obtained.

Detection Methods for CVE-2023-21977

Indicators of Compromise

  • Unexpected MySQL Server crashes or service restarts without apparent cause
  • Repeated hang conditions in the MySQL Server requiring manual intervention
  • Unusual query patterns from privileged accounts targeting optimizer functions
  • Elevated error rates in MySQL error logs related to optimizer operations

Detection Strategies

  • Monitor MySQL error logs for optimizer-related crash dumps or hang indicators
  • Implement query auditing for privileged accounts to detect unusual query patterns
  • Deploy database activity monitoring (DAM) solutions to track administrative actions
  • Configure alerting for MySQL service availability and unexpected restarts

Monitoring Recommendations

  • Enable MySQL audit logging to capture all privileged user activities
  • Set up automated monitoring for MySQL process health and service availability
  • Review MySQL error logs regularly for optimizer-related warnings or errors
  • Implement real-time alerting for database downtime or repeated crash events

How to Mitigate CVE-2023-21977

Immediate Actions Required

  • Upgrade MySQL Server to version 8.0.33 or later as recommended by Oracle
  • Review and restrict network access to MySQL Server using firewall rules
  • Audit privileged user accounts and apply principle of least privilege
  • Implement monitoring for unusual administrative activity on database servers

Patch Information

Oracle has addressed this vulnerability in their April 2023 Critical Patch Update. Administrators should apply the security patch by upgrading to MySQL Server version 8.0.33 or later. The official security advisory with detailed patch information is available from Oracle April 2023 Security Alerts. Additional information regarding affected NetApp products can be found in the NetApp Security Advisory NTAP-20230427-0007.

Workarounds

  • Restrict network access to MySQL Server to trusted hosts only using firewall rules
  • Implement strict access controls to limit the number of high-privileged accounts
  • Monitor and audit all administrative access to MySQL Server instances
  • Consider network segmentation to isolate database servers from untrusted networks
bash
# Example: Restrict MySQL network access using iptables
# 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 after patching
mysql --version
# Expected: mysql Ver 8.0.33 or later

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.05%

  • 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 April 2023 Security Alerts
  • 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