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

CVE-2021-21344: NetApp OnCommand Insight RCE Vulnerability

CVE-2021-21344 is a remote code execution vulnerability in NetApp OnCommand Insight caused by XStream deserialization flaws. Attackers can execute arbitrary code by manipulating input streams. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: March 4, 2026

CVE-2021-21344 Overview

CVE-2021-21344 is a critical insecure deserialization vulnerability in XStream, a widely-used Java library for serializing objects to XML and back. In XStream versions prior to 1.4.16, a remote attacker can load and execute arbitrary code from a remote host by manipulating the processed input stream. This vulnerability bypasses XStream's default blacklist-based security framework, allowing attackers to achieve remote code execution without authentication.

Users who configured XStream's security framework with a whitelist limited to minimal required types are not affected. However, those relying on XStream's default blacklist protection must upgrade to at least version 1.4.16 to mitigate this vulnerability.

Critical Impact

Remote attackers can achieve arbitrary code execution by sending malicious XML payloads to applications using vulnerable XStream versions, 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
  • Oracle MySQL Server, Banking Platform, WebCenter Portal, and multiple Oracle products
  • Debian Linux 9.0, 10.0, 11.0
  • Fedora 33, 34, 35

Discovery Timeline

  • 2021-03-23 - CVE-2021-21344 published to NVD
  • 2025-05-23 - Last updated in NVD database

Technical Details for CVE-2021-21344

Vulnerability Analysis

This vulnerability represents a fundamental weakness in XStream's deserialization handling. When XStream processes XML input containing specially crafted object graphs, it can be tricked into instantiating arbitrary Java classes and invoking methods that lead to remote code execution. The vulnerability exists because XStream's default security model relies on a blacklist approach, which attempts to block known dangerous classes but fails to anticipate all possible attack vectors.

The flaw allows attackers to construct XML payloads that reference classes not included in the blacklist, effectively bypassing the security controls. When these payloads are deserialized by a vulnerable XStream instance, the attacker-controlled code executes within the context of the application, inheriting its privileges and access to system resources.

Root Cause

The root cause of CVE-2021-21344 lies in XStream's default reliance on a blacklist-based security mechanism rather than a whitelist approach. The blacklist attempts to prevent deserialization of known dangerous classes, but this reactive approach cannot anticipate all possible gadget chains that attackers might discover. Additionally, XStream's permissive default configuration allows the deserialization of complex object graphs without proper validation of the class types being instantiated.

The vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type), though it more broadly relates to insecure deserialization patterns where untrusted input controls object instantiation.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker crafts a malicious XML payload containing serialized Java objects that, when deserialized by XStream, trigger arbitrary code execution. The attacker can leverage Java gadget chains present in the application's classpath to construct the attack payload.

The exploitation process typically involves:

  1. Identifying an application endpoint that accepts XML input processed by XStream
  2. Analyzing the application's classpath for exploitable gadget chains
  3. Constructing a malicious XML payload that chains together objects to achieve code execution
  4. Sending the payload to the vulnerable endpoint
  5. The XStream library deserializes the payload, instantiating the malicious objects and executing attacker-controlled code

The vulnerability allows loading and executing arbitrary code from a remote host, meaning attackers can instruct the compromised application to fetch and execute additional payloads from attacker-controlled servers.

Detection Methods for CVE-2021-21344

Indicators of Compromise

  • Unusual outbound network connections from Java applications to unknown external hosts
  • Unexpected process spawning from Java Virtual Machine (JVM) processes
  • Anomalous XML payloads in application logs containing references to uncommon Java classes such as javax.swing, com.sun, or reflection-related classes
  • Evidence of remote class loading or dynamic code execution in application logs

Detection Strategies

  • Monitor application logs for XML deserialization errors or exceptions related to blocked class types
  • Implement network monitoring to detect outbound connections from application servers to unexpected destinations
  • Deploy runtime application self-protection (RASP) solutions to detect deserialization attacks
  • Scan application dependencies using software composition analysis (SCA) tools to identify vulnerable XStream versions
  • Review application endpoints that accept XML input for proper input validation and XStream security configuration

Monitoring Recommendations

  • Enable verbose logging for XStream operations to capture deserialization attempts
  • Monitor JVM metrics for unusual memory allocation patterns or CPU spikes that may indicate exploitation attempts
  • Implement intrusion detection rules to identify malicious XML payloads targeting XStream vulnerabilities
  • Regularly audit application dependencies and their versions against known vulnerability databases

How to Mitigate CVE-2021-21344

Immediate Actions Required

  • Upgrade XStream to version 1.4.16 or later immediately
  • Review and update all applications using XStream as a dependency, including Apache ActiveMQ, Apache JMeter, and Oracle products
  • Implement XStream's security framework with an explicit whitelist of allowed types rather than relying on the default blacklist
  • Audit all endpoints accepting XML input to identify exposure to this vulnerability
  • Consider implementing network segmentation to limit the impact of potential exploitation

Patch Information

The XStream project has addressed this vulnerability in version 1.4.16 and later. Organizations should consult the X-Stream Changes Version 1.4.16 page for detailed release notes. For Oracle products, refer to the Oracle January 2022 Security Alert for specific patch availability.

Additional vendor advisories include:

  • GitHub Security Advisory GHSA-59jw-jqf4-3wq3
  • NetApp Security Advisory NTAP-20210430-0002
  • Debian Security Advisory DSA-5004

Workarounds

  • Configure XStream with a custom security framework using a whitelist of explicitly allowed types as described in the X-Stream Security Workaround Information
  • Restrict network access for applications using XStream to prevent external code loading
  • Implement input validation to reject suspicious XML payloads before they reach XStream processing
  • Consider alternative serialization libraries with stronger security defaults if XStream cannot be upgraded
java
// Recommended XStream Security Configuration
XStream xstream = new XStream();
// Clear all permissions first
xstream.addPermission(NoTypePermission.NONE);
// Only allow specific types your application needs
xstream.addPermission(NullPermission.NULL);
xstream.addPermission(PrimitiveTypePermission.PRIMITIVES);
xstream.allowTypes(new Class[] { YourSafeClass.class, AnotherSafeClass.class });
xstream.allowTypesByWildcard(new String[] { "com.yourcompany.safepackage.**" });

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.8

  • EPSS Probability28.06%

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

  • NVD-CWE-noinfo
  • Technical References
  • X-Stream Changes Version 1.4.16

  • GitHub Security Advisory GHSA-59jw-jqf4-3wq3

  • Apache ActiveMQ User Thread

  • Apache JMeter Dev Thread

  • Debian LTS Security Announcement

  • Fedora Package Announcement 22KVR6B5

  • Fedora Package Announcement PVPHZA7VW2

  • Fedora Package Announcement QGXIU3YDPG

  • NetApp Security Advisory NTAP-20210430-0002

  • Debian Security Advisory DSA-5004

  • Oracle July 2021 Security Alert

  • Oracle October 2021 Security Alert

  • X-Stream CVE-2021-21344 Page
  • Vendor Resources
  • Oracle January 2022 Security Alert

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

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

  • CVE-2021-21345: 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