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

CVE-2021-2163: Oracle JDK RCE Vulnerability Explained

CVE-2021-2163 is a remote code execution vulnerability in Oracle JDK affecting Java SE, Java SE Embedded, and Oracle GraalVM Enterprise Edition. This post covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-2163 Overview

CVE-2021-2163 is a security vulnerability in the Libraries component of Oracle Java SE, Java SE Embedded, and Oracle GraalVM Enterprise Edition. This vulnerability allows an unauthenticated attacker with network access to potentially compromise affected Java deployments, leading to unauthorized creation, deletion, or modification of critical data. The vulnerability specifically impacts Java deployments that load and run untrusted code (such as code from the internet) and rely on the Java sandbox for security.

Critical Impact

Successful exploitation can result in unauthorized modification or deletion of all data accessible to Java SE, Java SE Embedded, or Oracle GraalVM Enterprise Edition deployments running untrusted code, compromising data integrity without the attacker needing authentication.

Affected Products

  • Oracle JDK 7u291, 8u281, 11.0.10, and 16
  • Oracle JRE 8u281
  • Java SE Embedded 8u281
  • Oracle GraalVM Enterprise Edition 19.3.5, 20.3.1.2, and 21.0.0.2
  • Oracle OpenJDK (multiple versions through update 291 for Java 7, update 282 for Java 8, and version 16)
  • Debian Linux 9.0 and 10.0
  • Fedora 32, 33, and 34
  • NetApp Active IQ Unified Manager, HCI Management Node, SolidFire, HCI Compute Node, and HCI Storage Node

Discovery Timeline

  • April 22, 2021 - CVE-2021-2163 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-2163

Vulnerability Analysis

This vulnerability resides in the Libraries component of Oracle Java SE and affects the Java security sandbox model. The attack requires network access and can be executed via multiple protocols, though exploitation is considered difficult. The vulnerability requires human interaction from a person other than the attacker for successful exploitation, typically through social engineering to get a victim to execute malicious Java code.

The primary security impact is to data integrity—successful attacks can result in unauthorized creation, deletion, or modification of critical data accessible to the compromised Java runtime. Notably, there is no impact to confidentiality or availability. The vulnerability specifically targets environments where untrusted code is executed within the Java sandbox, making browser-based Java applets and similar deployment scenarios the primary attack surface.

Root Cause

The vulnerability stems from an improper implementation within the Libraries component of Java SE. While Oracle has not disclosed specific technical details about the underlying flaw (classified as NVD-CWE-noinfo), the vulnerability allows attackers to bypass certain security restrictions in the Java sandbox when processing untrusted code. This enables unauthorized data manipulation operations that should be prevented by the sandbox security model.

Attack Vector

The attack is network-based and requires the following conditions for successful exploitation:

  1. The target must be running an affected version of Java SE, Java SE Embedded, or Oracle GraalVM Enterprise Edition
  2. The deployment must load and execute untrusted code (e.g., Java applets, JNLP applications, or server-side code accepting untrusted inputs)
  3. Human interaction is required—a user must be tricked into loading or running the malicious code
  4. The attacker must deliver the malicious payload via network protocols to the victim's Java runtime

While the complexity is high due to the interaction requirement, the attack does not require any privileges, making it accessible to unauthenticated remote attackers. The vulnerability cannot be exploited against Java deployments that do not load untrusted code.

Detection Methods for CVE-2021-2163

Indicators of Compromise

  • Unexpected Java process behavior when accessing or loading content from external sources
  • Unauthorized modifications to files or data accessible to Java applications
  • Java applications exhibiting sandbox escape behaviors, such as accessing restricted system resources
  • Network connections from Java processes to suspicious external hosts delivering potentially malicious code

Detection Strategies

  • Monitor Java runtime environments for execution of untrusted code from network sources
  • Implement application whitelisting to restrict which Java applications can be executed
  • Deploy endpoint detection solutions to identify anomalous Java process behavior and potential sandbox bypass attempts
  • Review web server and proxy logs for suspicious Java Web Start (JNLP) or applet downloads

Monitoring Recommendations

  • Enable verbose logging for Java Security Manager operations to detect policy violations
  • Monitor for changes to Java security policy files that could weaken sandbox restrictions
  • Implement file integrity monitoring on critical data accessible to Java applications
  • Track Java version deployment across the enterprise to identify systems running vulnerable versions

How to Mitigate CVE-2021-2163

Immediate Actions Required

  • Update all affected Oracle Java SE, Java SE Embedded, and GraalVM Enterprise Edition installations to patched versions released in the April 2021 Critical Patch Update
  • Disable or remove Java browser plugins if not required, as browser-based Java deployments are primary targets
  • Implement network segmentation to limit exposure of systems running Java applications that process untrusted code
  • Review and restrict Java security policy configurations to minimize the potential impact of sandbox escape

Patch Information

Oracle addressed this vulnerability in the April 2021 Critical Patch Update. Organizations should upgrade to the following versions or later:

  • Java SE 7u301 or later
  • Java SE 8u291 or later
  • Java SE 11.0.11 or later
  • Java SE 16.0.1 or later
  • GraalVM Enterprise Edition 19.3.6 or later
  • GraalVM Enterprise Edition 20.3.2 or later
  • GraalVM Enterprise Edition 21.1.0 or later

Linux distribution users should apply updates from their respective package repositories. See the Debian Security Advisory DSA-4899, Debian LTS Announcement, and Gentoo GLSA 202209-05 for distribution-specific guidance.

Workarounds

  • Disable the execution of untrusted Java code entirely if patching is not immediately feasible
  • Configure the Java Security Manager with restrictive policies to limit what untrusted code can access
  • Use application-level controls to block Java content from untrusted network sources
  • Consider migrating away from Java deployments that rely on running untrusted code in a sandbox model
bash
# Verify installed Java version to check for vulnerable versions
java -version

# Check for multiple Java installations on Linux systems
update-alternatives --list java

# Example: Restricting Java security policy (review and customize for your environment)
# Edit $JAVA_HOME/lib/security/java.policy to add restrictive permissions

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOracle Jdk

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.11%

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

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 2022-09-05

  • NetApp Security Advisory

  • Debian Security Advisory DSA-4899
  • Vendor Resources
  • Oracle Security Alert April 2021
  • Related CVEs
  • CVE-2024-21210: Oracle JDK Hotspot RCE Vulnerability

  • CVE-2021-2161: Oracle JDK RCE Vulnerability Explained

  • CVE-2020-2805: Oracle JDK Libraries RCE Vulnerability

  • CVE-2020-2803: Oracle JDK Libraries RCE 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