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

CVE-2022-21304: Oracle MySQL Server Parser DOS Vulnerability

CVE-2022-21304 is a denial of service vulnerability in Oracle MySQL Server's Parser component affecting versions 5.7.36 and 8.0.27. Attackers with high privileges can cause server crashes. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 18, 2026

CVE-2022-21304 Overview

CVE-2022-21304 is a Denial of Service vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Parser component. This vulnerability allows a high privileged attacker with network access to cause MySQL Server to hang or crash repeatedly, resulting in complete denial of service for dependent applications and services.

Critical Impact

Successful exploitation enables attackers to cause a complete denial of service condition on MySQL Server, potentially disrupting critical database operations and dependent applications.

Affected Products

  • Oracle MySQL 5.7.36 and prior versions
  • Oracle MySQL 8.0.27 and prior versions
  • NetApp Active IQ Unified Manager (vSphere and Windows)
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation
  • NetApp SnapCenter
  • Fedora 34 and 35

Discovery Timeline

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

Technical Details for CVE-2022-21304

Vulnerability Analysis

This vulnerability resides in the Parser component of MySQL Server. The Parser is responsible for analyzing and interpreting SQL statements before execution. When a malformed or specially crafted query is processed, the parser fails to handle certain edge cases properly, leading to a crash or hang condition.

The vulnerability requires high privileges to exploit, meaning the attacker must already have authenticated access to the MySQL server with elevated permissions. However, once exploited, the impact is severe as it affects the availability of the entire database server, causing service disruption for all connected applications and users.

Root Cause

The root cause of CVE-2022-21304 lies in improper handling of certain input conditions within the MySQL Server Parser component. When processing specific SQL statements, the parser encounters an unhandled exception or enters an infinite loop state, causing the server to become unresponsive or crash. This represents an input validation error where boundary conditions are not properly checked during query parsing.

Attack Vector

The attack is network-based and can be executed through multiple protocols supported by MySQL Server. An authenticated attacker with high privileges can send specially crafted SQL queries to the MySQL server. These malicious queries trigger the parsing vulnerability, causing the server to enter a denial of service state. The attack is easily exploitable as it does not require user interaction and can be executed with low attack complexity once the attacker has the necessary privileges.

The exploitation flow involves:

  1. Attacker authenticates to MySQL Server with high privileges
  2. Attacker sends a malformed SQL statement targeting the Parser component
  3. The Parser fails to properly handle the input
  4. MySQL Server crashes or hangs, causing complete denial of service

Detection Methods for CVE-2022-21304

Indicators of Compromise

  • Unexpected MySQL Server crashes or restarts without clear system resource issues
  • MySQL error logs showing parser-related errors or crashes immediately before service interruption
  • Repeated connection failures from applications dependent on the MySQL database
  • Abnormal or malformed SQL queries in general query logs from privileged accounts

Detection Strategies

  • Monitor MySQL error logs for parser component crash signatures and unexpected service terminations
  • Implement database activity monitoring to detect unusual query patterns from privileged accounts
  • Configure alerting for MySQL service availability to detect denial of service conditions quickly
  • Review audit logs for suspicious SQL statements executed by high-privileged users

Monitoring Recommendations

  • Enable MySQL general query logging for privileged accounts to capture potentially malicious queries
  • Set up automated monitoring for MySQL service uptime with rapid alerting capabilities
  • Implement network-level monitoring to detect unusual traffic patterns to MySQL ports
  • Configure periodic health checks on MySQL Server to detect hung states before complete failure

How to Mitigate CVE-2022-21304

Immediate Actions Required

  • Upgrade Oracle MySQL to version 5.7.37 or later (for 5.7.x branch) or 8.0.28 or later (for 8.0.x branch)
  • Review and restrict high-privilege MySQL accounts to minimize attack surface
  • Implement network segmentation to limit which systems can connect to MySQL servers
  • Enable comprehensive logging to detect potential exploitation attempts

Patch Information

Oracle has addressed this vulnerability in the January 2022 Critical Patch Update. Organizations should apply the latest security patches from the Oracle Security Alert for January 2022. For NetApp products, refer to the NetApp Security Advisory for specific patch guidance. Fedora users should update MySQL packages through their distribution's package manager as described in the Fedora Package Announcements.

Workarounds

  • Restrict network access to MySQL Server to only trusted hosts and networks using firewall rules
  • Implement strict privilege management by limiting the number of accounts with high-level database privileges
  • Enable MySQL audit plugins to log and monitor all privileged user activity
  • Configure connection limits and timeouts to reduce the impact of potential denial of service attacks
bash
# Configuration example for restricting MySQL network access
# Add to MySQL configuration file (my.cnf or my.ini)

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

# Limit maximum connections to reduce DoS impact
max_connections = 100

# Set connection timeout to prevent hung connections
wait_timeout = 300
interactive_timeout = 300

# Enable general query log for privileged account monitoring
general_log = 1
general_log_file = /var/log/mysql/mysql.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

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.28%

  • 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
  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • Oracle Security Alert
  • 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