Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-21345

CVE-2021-21345: NetApp OnCommand Insight RCE Vulnerability

CVE-2021-21345 is a remote code execution vulnerability in NetApp OnCommand Insight via XStream library that allows attackers to execute commands. This post covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-21345 Overview

CVE-2021-21345 is a critical insecure deserialization vulnerability in XStream, a popular Java library used to serialize objects to XML and back again. In XStream versions prior to 1.4.16, a remote attacker with sufficient rights can execute arbitrary commands on the host system by manipulating the processed input stream. This vulnerability affects applications that rely on XStream's default blacklist-based security framework rather than implementing a properly configured whitelist limited to minimal required types.

Critical Impact

Remote attackers can achieve arbitrary command execution on vulnerable hosts by exploiting the insecure deserialization of maliciously crafted XML input, potentially leading to complete system compromise.

Affected Products

  • XStream versions prior to 1.4.16
  • Apache ActiveMQ (versions 5.16.0, 5.16.1, and earlier)
  • Apache JMeter
  • NetApp OnCommand Insight
  • Debian Linux (9.0, 10.0, 11.0)
  • Fedora (33, 34, 35)
  • Oracle Banking Enterprise Default Management (2.10.0, 2.12.0)
  • Oracle Banking Platform (2.4.0, 2.7.1, 2.9.0, 2.12.0)
  • Oracle Banking Virtual Account Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Business Activity Monitoring (11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0)
  • Oracle Communications Billing and Revenue Management Elastic Charging Engine (12.0.0.3.0)
  • Oracle Communications Policy Management (12.5.0)
  • Oracle Communications Unified Inventory Management (7.3.2, 7.3.4, 7.3.5, 7.4.0, 7.4.1)
  • Oracle PeopleSoft Enterprise PeopleTools (8.58, 8.59)
  • Oracle Retail Xstore Point of Service (16.0.6, 17.0.4, 18.0.3, 19.0.2)
  • Oracle WebCenter Portal (11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0)

Discovery Timeline

  • March 23, 2021 - CVE-2021-21345 published to NVD
  • May 23, 2025 - Last updated in NVD database

Technical Details for CVE-2021-21345

Vulnerability Analysis

This vulnerability is classified under CWE-94 (Improper Control of Generation of Code - Code Injection) and CWE-78 (Improper Neutralization of Special Elements used in an OS Command - OS Command Injection). The flaw exists in how XStream deserializes untrusted XML input without adequate type restrictions.

XStream's default security model relies on a blacklist approach to prevent instantiation of dangerous classes during deserialization. However, this approach is fundamentally flawed as attackers can discover new gadget chains or classes that bypass the blacklist restrictions. The vulnerability allows attackers to craft malicious XML payloads that, when processed by vulnerable XStream instances, trigger the instantiation of dangerous objects leading to arbitrary code execution.

The scope change indicated by the vulnerability assessment means that successful exploitation can affect resources beyond the vulnerable component's security scope, potentially compromising the entire host system where the application runs.

Root Cause

The root cause of CVE-2021-21345 lies in XStream's reliance on a blacklist-based security model for controlling which classes can be deserialized. The blacklist approach attempts to block known dangerous classes but fails to account for newly discovered gadget chains or alternative exploitation paths. When applications use XStream's default security framework without implementing a strict whitelist of allowed types, attackers can leverage classes not included in the blacklist to construct exploitation chains that result in command execution.

The library's design allowed for unsafe deserialization of arbitrary object types when the security framework was not properly configured with explicit type allowlisting, enabling attackers to instantiate objects that could trigger malicious operations during the deserialization process.

Attack Vector

The attack is network-based and requires low privileges to execute, with no user interaction needed. An attacker can exploit this vulnerability by sending specially crafted XML input to an application using a vulnerable version of XStream. The malicious XML payload contains serialized object references that, when processed by XStream's unmarshalling functionality, instantiate dangerous objects capable of executing system commands.

The exploitation chain typically involves:

  1. Identifying an endpoint that accepts XML input processed by XStream
  2. Crafting a malicious XML payload containing a gadget chain of serialized objects
  3. Sending the payload to the vulnerable application
  4. Upon deserialization, the gadget chain triggers execution of attacker-controlled commands

Since no verified code examples are available, administrators should refer to the GitHub Security Advisory GHSA-hwpc-8xqv-jvj4 for detailed technical information about the exploitation mechanism. The X-Stream CVE-2021-21345 advisory also provides comprehensive technical details about this vulnerability.

Detection Methods for CVE-2021-21345

Indicators of Compromise

  • Unusual outbound network connections from Java application processes
  • Unexpected process spawning from Java Virtual Machine instances
  • Suspicious command execution activity traced back to applications using XStream
  • Log entries showing deserialization of unexpected class types in XStream-based applications

Detection Strategies

  • Monitor application logs for deserialization errors or warnings related to XStream processing
  • Deploy runtime application self-protection (RASP) solutions to detect and block malicious deserialization attempts
  • Implement network-based intrusion detection rules to identify malicious XML payloads targeting XStream
  • Use static analysis tools to identify applications using vulnerable XStream versions in your environment

Monitoring Recommendations

  • Enable verbose logging for XStream operations to capture detailed deserialization activity
  • Monitor system process creation events for child processes spawned by Java applications
  • Track network traffic patterns from applications known to use XStream for anomalous behavior
  • Implement file integrity monitoring on systems running vulnerable applications

How to Mitigate CVE-2021-21345

Immediate Actions Required

  • Upgrade XStream to version 1.4.16 or later immediately
  • Implement XStream's security framework with an explicit whitelist limited to minimal required types
  • Review and update all dependent applications including Apache ActiveMQ, Apache JMeter, and Oracle products
  • Conduct an inventory of all applications using XStream in your environment to identify vulnerable instances

Patch Information

The vulnerability has been addressed in XStream version 1.4.16 and later. Organizations should upgrade to the latest stable version of XStream. Detailed patch information is available in the X-Stream Change Log 1.4.16.

For downstream products, vendors have released security updates:

  • Oracle has addressed this in multiple Critical Patch Updates including CPU April 2021, CPU July 2021, CPU October 2021, and CPU January 2022
  • NetApp has released Security Advisory NTAP-20210430-0002
  • Debian has released DSA-5004 security update

Workarounds

  • Configure XStream's security framework to use a strict whitelist of allowed types instead of relying on the default blacklist
  • Restrict network access to endpoints that process XML input with XStream
  • Implement input validation to filter potentially malicious XML content before processing
  • Consider using alternative serialization libraries if XStream whitelist configuration is not feasible
bash
# Example XStream security configuration (Java code concept)
# Configure explicit whitelist in your application:
# XStream xstream = new XStream();
# xstream.addPermission(NoTypePermission.NONE);
# xstream.addPermission(NullPermission.NULL);
# xstream.addPermission(PrimitiveTypePermission.PRIMITIVES);
# xstream.allowTypes(new Class[] { YourAllowedClass.class });

# Verify XStream version in Maven projects
mvn dependency:tree | grep xstream

# Check for vulnerable versions in Gradle projects
gradle dependencies | grep xstream

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNetapp Oncommand Insight

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability87.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94

  • CWE-78
  • Technical References
  • X-Stream Change Log 1.4.16

  • GitHub Security Advisory GHSA-hwpc-8xqv-jvj4

  • Apache ActiveMQ User Thread

  • Apache JMeter Dev Thread

  • Debian LTS Announcement April 2021

  • Fedora Package Announcement 22KVR6B5

  • Fedora Package Announcement PVPHZA7W

  • Fedora Package Announcement QGXIU3Y

  • NetApp Security Advisory NTAP-20210430-0002

  • Debian Security DSA-5004

  • Oracle Security Alert CPU July 2021

  • Oracle Security Alert CPU October 2021

  • X-Stream CVE-2021-21345 Summary
  • Vendor Resources
  • Oracle Security Alert CPU April 2021

  • Oracle Security Alert CPU January 2022

  • X-Stream Security Workaround Page
  • Related CVEs
  • CVE-2021-21350: NetApp OnCommand Insight RCE Vulnerability

  • CVE-2021-21346: NetApp OnCommand Insight RCE Vulnerability

  • CVE-2021-21344: NetApp OnCommand Insight RCE Vulnerability

  • CVE-2021-21351: NetApp OnCommand Insight 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