Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-21351

CVE-2022-21351: Oracle MySQL Server Optimizer DOS Vulnerability

CVE-2022-21351 is a denial of service flaw in Oracle MySQL Server Optimizer component affecting version 8.0.27 and earlier. Attackers can cause crashes and data integrity issues. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-21351 Overview

CVE-2022-21351 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. This easily exploitable vulnerability allows a low-privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful exploitation can result in an unauthorized ability to cause a hang or frequently repeatable crash (complete Denial of Service) of MySQL Server, as well as unauthorized update, insert, or delete access to some of MySQL Server's accessible data.

Critical Impact

Attackers with low-level network access can trigger complete Denial of Service conditions and gain unauthorized data modification capabilities on affected MySQL Server deployments.

Affected Products

  • Oracle MySQL 8.0.27 and prior versions
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • 2022-01-19 - CVE-2022-21351 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21351

Vulnerability Analysis

This vulnerability resides in the Optimizer component of MySQL Server, which is responsible for query optimization and execution planning. The flaw can be exploited by authenticated users with minimal privileges to disrupt database availability and integrity. The vulnerability has both availability and integrity impacts, meaning attackers can not only crash the database service but also manipulate data in unauthorized ways.

The attack requires network access but does not require user interaction, making it suitable for automated exploitation once an attacker has obtained low-level credentials to the MySQL server. The vulnerability affects the stability of the query optimization process, which can be triggered through specially crafted queries or inputs processed by the Optimizer.

Root Cause

The root cause lies within the MySQL Server Optimizer component's handling of certain operations. While Oracle has not disclosed specific technical details about the underlying flaw, the vulnerability classification indicates improper handling that leads to both availability disruption (crashes and hangs) and data integrity issues (unauthorized data modification). The Optimizer component is particularly sensitive since it processes and transforms queries before execution, making flaws in this area potentially impactful across various database operations.

Attack Vector

The attack vector is network-based, allowing exploitation through multiple protocols supported by MySQL Server. An attacker needs only low-level privileges—typically basic authentication credentials—to initiate the attack. The vulnerability can be exploited without any user interaction, and the attack does not change scope (remains contained within MySQL Server context).

Exploitation involves sending malicious requests through network protocols that MySQL Server supports. The Optimizer component processes these requests in a way that triggers either a denial of service condition (hang or crash) or allows unauthorized data manipulation. The low attack complexity indicates that exploitation is straightforward once the attacker has established network access and basic authentication.

Detection Methods for CVE-2022-21351

Indicators of Compromise

  • Unexpected MySQL Server crashes or hangs, particularly during query optimization phases
  • Unusual authentication attempts or connections from unexpected sources with low-privileged credentials
  • Abnormal query patterns or execution times indicating potential exploitation attempts
  • Unauthorized data modifications in MySQL Server tables without corresponding legitimate user activity

Detection Strategies

  • Monitor MySQL error logs for repeated crash events or optimizer-related errors
  • Implement database activity monitoring to detect unusual query patterns targeting the Optimizer
  • Review authentication logs for suspicious low-privileged account access patterns
  • Deploy network intrusion detection rules to identify potential MySQL exploitation traffic

Monitoring Recommendations

  • Enable MySQL query logging and analyze for anomalous optimizer behavior
  • Configure alerts for MySQL service interruptions and automatic restart events
  • Monitor database integrity through regular checksum comparisons of critical tables
  • Implement real-time monitoring of MySQL connection patterns and authentication failures

How to Mitigate CVE-2022-21351

Immediate Actions Required

  • Upgrade Oracle MySQL Server to a version newer than 8.0.27 as soon as possible
  • Review and restrict network access to MySQL Server to trusted hosts only
  • Audit and minimize low-privileged user accounts that have network access to the database
  • Implement network segmentation to limit exposure of MySQL services

Patch Information

Oracle has addressed this vulnerability in their January 2022 Critical Patch Update. Administrators should apply the security patches available through the Oracle Security Alert January 2022. For NetApp products that bundle MySQL, refer to the NetApp Security Advisory for specific guidance on affected versions and available updates.

Workarounds

  • Restrict MySQL Server network access using firewall rules to allow only trusted IP addresses
  • Review and reduce privileges for database accounts that do not require elevated access
  • Implement connection rate limiting to mitigate potential denial of service attempts
  • Consider deploying MySQL Proxy or connection pooling solutions that can filter suspicious queries
bash
# Configuration example - Restrict MySQL network binding
# Edit my.cnf or my.ini configuration file

[mysqld]
# Bind to specific trusted interface instead of all interfaces
bind-address = 127.0.0.1

# Limit connections per user account
max_user_connections = 10

# Enable general query log for monitoring (performance impact - use temporarily)
general_log = 1
general_log_file = /var/log/mysql/mysql-query.log

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

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory
  • Vendor Resources
  • Oracle Security Alert January 2022
  • 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