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-2021-2388

CVE-2021-2388: Oracle OpenJDK RCE Vulnerability

CVE-2021-2388 is a remote code execution vulnerability in Oracle OpenJDK Hotspot that allows attackers to compromise Java SE and GraalVM. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 25, 2026

CVE-2021-2388 Overview

CVE-2021-2388 is a vulnerability in the Java SE and Oracle GraalVM Enterprise Edition products, specifically affecting the HotSpot component. This vulnerability allows an unauthenticated attacker with network access to potentially compromise affected Java deployments, resulting in a complete takeover of the vulnerable system. The vulnerability primarily impacts client-side Java deployments running sandboxed Java Web Start applications or Java applets that load and execute untrusted code from the internet.

Critical Impact

Successful exploitation can result in complete takeover of Java SE or Oracle GraalVM Enterprise Edition, compromising confidentiality, integrity, and availability of affected systems.

Affected Products

  • Oracle JDK 8u291, 11.0.11, 16.0.1
  • Oracle JRE 8u291, 11.0.11, 16.0.1
  • Oracle GraalVM Enterprise Edition 20.3.2 and 21.1.0
  • Oracle OpenJDK 8, 11, 13, 15, 16 (various versions)
  • Debian Linux 9.0 and 10.0

Discovery Timeline

  • July 21, 2021 - CVE-2021-2388 published to NVD
  • May 27, 2025 - Last updated in NVD database

Technical Details for CVE-2021-2388

Vulnerability Analysis

This vulnerability resides in the HotSpot component of Java SE and Oracle GraalVM Enterprise Edition, which is the Just-In-Time (JIT) compiler responsible for optimizing Java bytecode at runtime. The vulnerability allows an attacker to escape the Java sandbox security model, which is designed to prevent untrusted code from accessing system resources.

The attack requires human interaction, meaning a user must be convinced to run a malicious Java applet or Web Start application. While the exploitation complexity is high, successful attacks can lead to complete system compromise with impacts to confidentiality, integrity, and availability of the targeted system.

It is important to note that this vulnerability does not affect server-side Java deployments that only run trusted, administrator-installed code. The risk is primarily concentrated on client-side deployments where end users may inadvertently execute untrusted Java content.

Root Cause

The vulnerability stems from an unspecified flaw in the HotSpot JIT compiler that can be leveraged to bypass the Java sandbox security mechanisms. The HotSpot compiler performs aggressive optimizations during runtime compilation, and flaws in these optimization routines can create conditions where the sandbox enforcement can be circumvented. The exact technical details have not been publicly disclosed by Oracle to prevent exploitation.

Attack Vector

The attack vector is network-based and requires an unauthenticated attacker to deliver a malicious Java Web Start application or Java applet to a victim. The attack scenario typically involves:

  1. An attacker crafts a malicious Java application that exploits the HotSpot vulnerability
  2. The victim is social-engineered into visiting a malicious website or opening a compromised application
  3. The sandboxed Java application executes and leverages the vulnerability to escape the sandbox
  4. Upon successful exploitation, the attacker gains full control over the Java runtime environment and potentially the underlying system

The vulnerability requires multiple protocols for network access, and exploitation is considered difficult, requiring specific conditions to be met for successful compromise.

Detection Methods for CVE-2021-2388

Indicators of Compromise

  • Unexpected Java processes spawning child processes with elevated privileges
  • Java applications attempting to access system resources outside their designated sandbox
  • Unusual network connections originating from Java processes to unknown external hosts
  • Evidence of Java Web Start or applet execution from untrusted sources in browser logs

Detection Strategies

  • Monitor for Java process behavior anomalies, particularly sandbox escape attempts
  • Implement application whitelisting to prevent unauthorized Java applications from executing
  • Deploy endpoint detection and response (EDR) solutions to identify post-exploitation activities
  • Review browser and system logs for evidence of Java applet or Web Start application execution

Monitoring Recommendations

  • Enable Java Console logging to capture detailed runtime information
  • Configure network monitoring to detect unusual outbound connections from Java processes
  • Implement security information and event management (SIEM) rules to correlate Java-related security events
  • Monitor for Java version changes or unexpected updates that could indicate tampering

How to Mitigate CVE-2021-2388

Immediate Actions Required

  • Update to the latest patched versions of Java SE (8u301, 11.0.12, or 16.0.2 and later)
  • Upgrade Oracle GraalVM Enterprise Edition to patched versions
  • Disable Java browser plugins if not required for business operations
  • Restrict execution of Java Web Start applications and applets from untrusted sources

Patch Information

Oracle has released security patches addressing this vulnerability as part of the Oracle CPU July 2021 Alert. Additional updates were provided in the Oracle CPU October 2021 Alert. Debian has also released security updates via DSA-4946 and through their LTS announcements.

Organizations should prioritize patching client-side Java installations, particularly those used to run untrusted code. Server-side deployments running only trusted code are at lower risk but should still be updated as part of regular security maintenance.

Workarounds

  • Disable Java browser plugins entirely in enterprise environments where not required
  • Configure Java security settings to the highest level to prevent execution of unsigned or self-signed applets
  • Implement network-level controls to block access to known malicious domains serving Java exploits
  • Consider using application virtualization to isolate Java applications from the host system
bash
# Disable Java browser plugin (Windows example)
# Remove Java plugin from browser settings or uninstall browser plugin components

# Verify Java version to ensure patched version is installed
java -version

# Set Java security level to High (prevents unsigned applets)
# Edit deployment.properties file:
# deployment.security.level=HIGH

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOracle Openjdk

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.69%

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

  • Gentoo GLSA 202209-05

  • NetApp Security Advisory

  • Debian Security Advisory DSA-4946
  • Vendor Resources
  • Oracle CPU July 2021 Alert

  • Oracle CPU October 2021 Alert
  • Related CVEs
  • CVE-2020-14593: Oracle OpenJDK RCE Vulnerability

  • CVE-2020-14583: Oracle OpenJDK RCE Vulnerability

  • CVE-2024-20952: Oracle OpenJDK Privilege Escalation Flaw

  • CVE-2021-35567: Oracle OpenJDK Auth Bypass 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