A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-21511

CVE-2022-21511: Oracle Database Privilege Escalation Bug

CVE-2022-21511 is a privilege escalation vulnerability in Oracle Database Enterprise Edition Recovery that allows high-privileged attackers to take over the system. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2022-21511 Overview

CVE-2022-21511 affects the Recovery component of Oracle Database Server, Enterprise Edition. The vulnerability allows a high-privileged attacker with EXECUTE ON DBMS_IR.EXECUTESQLSCRIPT privilege and Oracle Net network access to compromise the Recovery component. Successful exploitation results in full takeover of Oracle Database Enterprise Edition Recovery, with impacts on confidentiality, integrity, and availability.

Oracle's advisory notes that none of the currently supported versions are affected. The issue was published as part of the Oracle Critical Patch Update on July 19, 2022.

Critical Impact

A high-privileged database user holding EXECUTE on DBMS_IR.EXECUTESQLSCRIPT can take over the Oracle Database Enterprise Edition Recovery component over Oracle Net, fully compromising confidentiality, integrity, and availability.

Affected Products

  • Oracle Database Server, Enterprise Edition
  • Oracle Database Recovery component (DBMS_IR package)
  • See Oracle's Critical Patch Update July 2022 for supported version status

Discovery Timeline

  • 2022-07-19 - CVE-2022-21511 published to NVD as part of Oracle Critical Patch Update July 2022
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21511

Vulnerability Analysis

The vulnerability resides in the Oracle Database Enterprise Edition Recovery component, specifically reachable through the DBMS_IR.EXECUTESQLSCRIPT procedure. An attacker must already possess the EXECUTE privilege on this package, classifying the issue as a privilege escalation or component takeover scenario rather than an unauthenticated remote flaw.

The attack vector is network-based over Oracle Net. The attack complexity is low, no user interaction is required, and the scope is unchanged. Confidentiality, integrity, and availability impacts are all high, reflecting complete control over the Recovery component once exploited.

The EPSS score stands at approximately 1.33% with an 80th percentile ranking, indicating moderate relative likelihood of exploitation activity compared to other CVEs. No public proof-of-concept is currently listed, and the issue is not present on CISA's Known Exploited Vulnerabilities catalog.

Root Cause

The CWE category is listed as NVD-CWE-noinfo, meaning Oracle did not disclose specific weakness classification details. Based on the affected package, the root cause involves insufficient validation or privilege enforcement within DBMS_IR.EXECUTESQLSCRIPT, which executes SQL scripts as part of the Incident Recovery (IR) workflow. A user holding direct EXECUTE access on this procedure can leverage it to perform operations beyond intended recovery use cases.

Attack Vector

Exploitation requires:

  • Authenticated access to the Oracle Database over Oracle Net
  • High privileges, specifically EXECUTE ON DBMS_IR.EXECUTESQLSCRIPT
  • No user interaction

The attacker invokes the vulnerable procedure remotely through standard Oracle Net connectivity. Because DBMS_IR.EXECUTESQLSCRIPT runs SQL scripts in the context of the Recovery component, abuse of the procedure leads to takeover of that component. Refer to the Oracle Critical Patch Update July 2022 for component-level technical guidance.

Detection Methods for CVE-2022-21511

Indicators of Compromise

  • Unexpected calls to DBMS_IR.EXECUTESQLSCRIPT from non-administrative sessions
  • Grants of EXECUTE on DBMS_IR to users outside of the database administrator role
  • Unusual SQL script execution recorded against the Incident Recovery workflow

Detection Strategies

  • Enable Oracle Database fine-grained auditing on the DBMS_IR package and its subprograms
  • Review DBA_TAB_PRIVS for accounts holding EXECUTE on DBMS_IR.EXECUTESQLSCRIPT and validate business need
  • Correlate Oracle Net listener logs with audit trail entries for DBMS_IR invocations

Monitoring Recommendations

  • Ingest Oracle Database audit logs into a centralized SIEM for behavioral analysis of privileged package usage
  • Alert on privilege grants targeting DBMS_IR or its subprograms
  • Track session activity that combines DBMS_IR.EXECUTESQLSCRIPT calls with subsequent DDL or DCL statements

How to Mitigate CVE-2022-21511

Immediate Actions Required

  • Apply the Oracle Critical Patch Update for July 2022 if running affected legacy versions
  • Revoke EXECUTE ON DBMS_IR.EXECUTESQLSCRIPT from any account that does not require it for recovery operations
  • Audit existing privilege assignments on the DBMS_IR package across all database instances
  • Restrict Oracle Net access to the database listener using valid node checking and network ACLs

Patch Information

Oracle addressed this issue in the Oracle Critical Patch Update July 2022. Oracle's advisory states that none of the currently supported Oracle Database versions are affected by CVE-2022-21511. Customers running unsupported versions should upgrade to a supported, patched release.

Workarounds

  • Limit DBMS_IR package privileges to database administrator accounts only
  • Enforce least privilege across all PL/SQL packages that perform script execution
  • Use Oracle Database Vault or equivalent controls to restrict privileged package use to defined realms
  • Require strong authentication and network segmentation for all Oracle Net connections
bash
# Example: review and revoke unintended grants on DBMS_IR.EXECUTESQLSCRIPT
sqlplus / as sysdba <<'SQL'
SELECT grantee, privilege
  FROM dba_tab_privs
 WHERE table_name = 'DBMS_IR';

REVOKE EXECUTE ON SYS.DBMS_IR FROM <unintended_user>;
SQL

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechOracle Database

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability1.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Oracle Critical Patch Update July 2022
  • Related CVEs
  • CVE-2025-30751: Oracle Database Privilege Escalation Flaw

  • CVE-2025-50066: Oracle Database Privilege Escalation Flaw

  • CVE-2024-20903: Oracle Database Privilege Escalation

  • CVE-2024-21184: Oracle Database Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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