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

CVE-2023-21980: Oracle MySQL Server Auth Bypass Flaw

CVE-2023-21980 is an authentication bypass vulnerability in Oracle MySQL Server that enables attackers to take over the database system. This article covers the technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-21980 Overview

CVE-2023-21980 is a vulnerability affecting the MySQL Server product of Oracle MySQL, specifically within the Client programs component. This vulnerability allows a low-privileged attacker with network access via multiple protocols to potentially achieve a complete takeover of the MySQL Server. Successful exploitation requires human interaction from a person other than the attacker and is considered difficult to exploit due to its high attack complexity.

Critical Impact

Successful exploitation can result in complete takeover of MySQL Server, impacting confidentiality, integrity, and availability of the database system.

Affected Products

  • Oracle MySQL Server version 5.7.41 and prior
  • Oracle MySQL Server version 8.0.32 and prior

Discovery Timeline

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

Technical Details for CVE-2023-21980

Vulnerability Analysis

This vulnerability exists within the Client programs component of Oracle MySQL Server. The flaw enables a network-based attack that, while difficult to execute, can lead to complete server compromise. The attack requires a low-privileged account and depends on user interaction, meaning an attacker would need to convince a legitimate user to perform certain actions that trigger the vulnerability. The exploitation path involves multiple protocols, increasing the potential attack surface while simultaneously requiring more sophisticated attack planning.

The vulnerability is classified under CWE-284 (Improper Access Control), indicating that the root issue involves inadequate restrictions on access to critical system resources or functionality within the MySQL Client programs.

Root Cause

The vulnerability stems from improper access control within the MySQL Client programs component. This access control weakness allows authenticated attackers to potentially bypass security restrictions and escalate their privileges beyond intended boundaries. The specific nature of the improper access control enables attackers to gain unauthorized control over MySQL Server operations when combined with user interaction.

Attack Vector

The attack vector for CVE-2023-21980 is network-based, requiring the attacker to have low-privilege access to the target MySQL Server. The exploitation scenario involves:

  1. An attacker with a valid low-privilege MySQL account establishes network connectivity to the target server
  2. The attacker crafts a malicious request or payload designed to exploit the access control weakness
  3. A legitimate user with higher privileges must interact with the system in a way that triggers the vulnerability
  4. Upon successful exploitation, the attacker gains complete control over the MySQL Server instance

The requirement for human interaction and high attack complexity serves as limiting factors, reducing the likelihood of widespread automated exploitation. However, in targeted attack scenarios, a motivated adversary could craft convincing social engineering tactics to facilitate the required user interaction.

Detection Methods for CVE-2023-21980

Indicators of Compromise

  • Unexpected privilege escalation events in MySQL audit logs showing low-privileged accounts performing administrative actions
  • Anomalous network connections to MySQL servers from unusual source addresses or using unexpected protocols
  • Suspicious MySQL client program executions with abnormal command-line parameters or connection patterns

Detection Strategies

  • Monitor MySQL general query logs and audit logs for unusual query patterns from low-privileged accounts
  • Implement network traffic analysis to detect anomalous MySQL protocol communications
  • Deploy endpoint detection solutions to monitor MySQL client program behavior and flag suspicious execution patterns
  • Configure SIEM rules to correlate authentication events with subsequent privilege escalation indicators

Monitoring Recommendations

  • Enable MySQL Enterprise Audit or equivalent logging to capture detailed client program activity
  • Implement real-time alerting for any privilege escalation events within MySQL Server
  • Monitor for unusual network traffic patterns to MySQL listening ports (default 3306)
  • Track user interaction events that precede any MySQL administrative operations

How to Mitigate CVE-2023-21980

Immediate Actions Required

  • Upgrade Oracle MySQL Server to version 5.7.42 or later (for 5.7.x branch) or version 8.0.33 or later (for 8.0.x branch)
  • Apply the Oracle Critical Patch Update from April 2023 immediately
  • Review and restrict network access to MySQL Server to only trusted sources
  • Audit existing MySQL user accounts and remove unnecessary low-privileged access

Patch Information

Oracle has addressed this vulnerability in their April 2023 Critical Patch Update. The official security advisory is available at the Oracle Security Alert CPUAPR2023. Organizations using MySQL in NetApp environments should also review the NetApp Security Advisory NTAP-20230427-0007 for additional guidance.

To apply the patch, administrators should:

  1. Download the appropriate MySQL Server update from Oracle's official repository
  2. Schedule a maintenance window for the upgrade
  3. Backup existing databases before applying the update
  4. Apply the update following Oracle's documented upgrade procedures
  5. Verify successful patching by checking the MySQL version string

Workarounds

  • Implement strict network segmentation to limit MySQL Server exposure to only essential systems
  • Enforce the principle of least privilege by reviewing and minimizing user account permissions
  • Deploy application-layer firewalls to monitor and filter MySQL protocol traffic
  • Implement multi-factor authentication for administrative access to MySQL systems where possible
bash
# Verify MySQL version after patching
mysql --version

# Check running server version
mysql -u admin -p -e "SELECT VERSION();"

# Review user privileges for potential over-privileged accounts
mysql -u admin -p -e "SELECT user, host, Super_priv 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
  • TypeAuth Bypass

  • Vendor/TechOracle Mysql

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo

  • CWE-284
  • Technical References
  • NetApp Security Advisory NTAP-20230427-0007
  • Vendor Resources
  • Oracle Security Alert CPUAPR2023
  • Related CVEs
  • CVE-2024-21262: Oracle MySQL Connector Auth Bypass Flaw

  • 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