On this page

Atomicorp WAF Research Note: CVE-2021-21351

XStream <1.4.16 - Remote Code Execution

CVE Details

Status: Attack Blocked by Atomicorp
  • Already protected by existing Atomicorp WAF rules
  • Protection status: Understanding Atomicorp WAF Protection Status
  • CVE: CVE-2021-21351
  • Name: XStream <1.4.16 - Remote Code Execution
  • Severity: Critical
  • CVSS: 9.1 (v3.1) (Critical)
  • CVSS version: 3.1
  • CVSS source: N/A
  • CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
    • Attack vector: Network
    • Attack complexity: Low
    • Privileges required: High
    • User interaction: None
    • Scope: Changed
    • Confidentiality impact: High
    • Integrity impact: High
    • Availability impact: High
  • CWE: CWE-434 — Unrestricted Upload of File with Dangerous Type, CWE-502 — Deserialization of Untrusted Data
  • Related CAPEC attack patterns (via MITRE CWE relationships): CAPEC-1 (opens in a new tab) , CAPEC-586 (opens in a new tab)
  • Vendor: xstream_project
  • Vulnerable products: oncommand insight , activemq , jmeter , xstream , debian linux , fedora , banking enterprise default management , banking platform , banking virtual account management , business activity monitoring , communications billing and revenue management elastic charging engine , communications policy management , communications unified inventory management , mysql server , retail xstore point of service , webcenter portal , xstream
  • CVE published: 2021-03-23
  • CVE last modified: 2026-06-17
  • Affected versions (NVD configurations):
    • oncommand insight
    • activemq: < 5.15.14
    • activemq: 5.16.0
    • activemq: 5.16.1
    • jmeter: < 5.5
    • xstream: < 1.4.16
    • debian linux: 9.0
    • debian linux: 10.0
    • debian linux: 11.0
    • fedora: 33
    • fedora: 34
    • fedora: 35
    • banking enterprise default management: 2.10.0
    • banking enterprise default management: 2.12.0
    • banking platform: 2.4.0
    • banking platform: 2.7.1
    • banking platform: 2.9.0
    • banking platform: 2.12.0
    • banking virtual account management: 14.2.0
    • banking virtual account management: 14.3.0
    • banking virtual account management: 14.5.0
    • business activity monitoring: 11.1.1.9.0
    • business activity monitoring: 12.2.1.3.0
    • business activity monitoring: 12.2.1.4.0
    • communications billing and revenue management elastic charging engine: 12.0.0.3.0
    • communications policy management: 12.5.0
    • communications unified inventory management: 7.3.2
    • communications unified inventory management: 7.3.4
    • communications unified inventory management: 7.3.5
    • communications unified inventory management: 7.4.0
    • communications unified inventory management: 7.4.1
    • mysql server: <= 8.0.27
    • retail xstore point of service: 16.0.6
    • retail xstore point of service: 17.0.4
    • retail xstore point of service: 18.0.3
    • retail xstore point of service: 19.0.2
    • webcenter portal: 11.1.1.9.0
    • webcenter portal: 12.2.1.3.0
    • webcenter portal: 12.2.1.4.0
  • EPSS: 0.8214; 99.6th percentile (FIRST (opens in a new tab) )
  • Latest Update: 2026-09-06
  • Selected Rule IDs observed: 344380
  • Matching rules: 1; rules with blocking actions: 1
  • Would-block Rule IDs: 344380
  • Request surfaces inspected: JSON request data, Request arguments, Request body, SOAP request data
Technical CPE data

This section lists vulnerable CPE matches retained from the NVD configurations. It supplements the readable affected-product information above.

  • cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
    • NVD match criteria ID: F1BE6C1F-2565-4E97-92AA-16563E5660A5
  • cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
    • Version end (exclusive): 5.15.14
    • NVD match criteria ID: 08739311-087C-4B48-8FD5-DE4CCDD1DE2B
  • cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 8DF1FC86-4D17-41C5-8307-B3EA9FEDA124
  • cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:*
    • NVD match criteria ID: 311BB335-06EE-4B7D-B1D7-FA0D1D2F9673
  • cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:*
    • Version end (exclusive): 5.5
    • NVD match criteria ID: 0D7DFDE4-E63D-49A0-A4EF-D6C5EF06AFD9
  • cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
    • Version end (exclusive): 1.4.16
    • NVD match criteria ID: 61951B4B-1970-447E-AEFA-BFD5E7992640
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    • NVD match criteria ID: DEECE5FC-CACF-4496-A3E7-164736409252
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 07B237A9-69A3-4A9C-9DA0-4E06BD37AE73
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    • NVD match criteria ID: FA6FEEC2-9F11-4643-8827-749718254FED
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    • NVD match criteria ID: E460AA51-FCDA-46B9-AE97-E6676AA5E194
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    • NVD match criteria ID: A930E247-0B43-43CB-98FF-6CE7B8189835
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    • NVD match criteria ID: 80E516C0-98A4-4ADE-B69F-66A772E2BAAA
  • cpe:2.3:a:oracle:banking_enterprise_default_management:2.10.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 74C7E2F1-17FC-4322-A5C3-F7EB612BA4F5
  • cpe:2.3:a:oracle:banking_enterprise_default_management:2.12.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 320D36DA-D99F-4149-B582-3F4AB2F41A1B
  • cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*
    • NVD match criteria ID: C2BEE49E-A5AA-42D3-B422-460454505480
  • cpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:*
    • NVD match criteria ID: 645AA3D1-C8B5-4CD2-8ACE-31541FA267F0
  • cpe:2.3:a:oracle:banking_platform:2.9.0:*:*:*:*:*:*:*
    • NVD match criteria ID: AB9FC9AB-1070-420F-870E-A5EC43A924A4
  • cpe:2.3:a:oracle:banking_platform:2.12.0:*:*:*:*:*:*:*
    • NVD match criteria ID: BDC6D658-09EA-4C41-869F-1C2EA163F751
  • cpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:*
    • NVD match criteria ID: D1534C11-E3F5-49F3-8F8D-7C5C90951E69
  • cpe:2.3:a:oracle:banking_virtual_account_management:14.3.0:*:*:*:*:*:*:*
    • NVD match criteria ID: D952E04D-DE2D-4AE0-BFE6-7D9B7E55AC80
  • cpe:2.3:a:oracle:banking_virtual_account_management:14.5.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 1111BCFD-E336-4B31-A87E-76C684AC6DE4
  • cpe:2.3:a:oracle:business_activity_monitoring:11.1.1.9.0:*:*:*:*:*:*:*
    • NVD match criteria ID: CC723E79-8F35-417B-B9D9-6A707F74C1EE
  • cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.3.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 5700C2E9-5FF2-48EF-AD85-3C03EDA76536
  • cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*
    • NVD match criteria ID: BA8461A2-428C-4817-92A9-0C671545698D
  • cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0.0.3.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 3784BE26-B268-40F3-9B10-88E50A4400AE
  • cpe:2.3:a:oracle:communications_policy_management:12.5.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 5312AC7A-3C16-4967-ACA6-317289A749D0
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.2:*:*:*:*:*:*:*
    • NVD match criteria ID: 1B58BCDA-E173-4D4A-A9C5-E9BFF7E57F58
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*
    • NVD match criteria ID: 0D299528-8EF0-49AF-9BDE-4B6C6B1DA36C
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:*
    • NVD match criteria ID: 17A91FD9-9F77-42D3-A4D9-48BC7568ADE1
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 539DA24F-E3E0-4455-84C6-A9D96CD601B3
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*
    • NVD match criteria ID: A7637F8B-15F1-42E2-BE18-E1FF7C66587D
  • cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
    • Version end (inclusive): 8.0.27
    • NVD match criteria ID: E1B5F76C-25BD-450C-98CD-B7F4C7149AAF
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*
    • NVD match criteria ID: 490B2C44-CECD-4551-B04F-4076D0E053C7
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:*
    • NVD match criteria ID: DEC41EB8-73B4-4BDF-9321-F34EC0BAF9E6
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:*
    • NVD match criteria ID: 48EFC111-B01B-4C34-87E4-D6B2C40C0122
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:*
    • NVD match criteria ID: 073FEA23-E46A-4C73-9D29-95CFF4F5A59D
  • cpe:2.3:a:oracle:webcenter_portal:11.1.1.9.0:*:*:*:*:*:*:*
    • NVD match criteria ID: D7756147-7168-4E03-93EE-31379F6BE88E
  • cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*
    • NVD match criteria ID: D6A4F71A-4269-40FC-8F61-1D1301F2B728
  • cpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:*
    • NVD match criteria ID: 5A502118-5B2B-47AE-82EC-1999BD841103

Vulnerability Description

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream’s security framework with a whitelist limited to the minimal required types. If you rely on XStream’s default blacklist of the Security Framework, you will have to use at least version 1.4.16.

  1. Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (344380 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.

  2. Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.

  3. Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.

Research Notes

Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.

Public Vulnerability References

Test or Research Source

Research Note Context

This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.

Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.

Learn More

Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.

Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:

  • Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
  • Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
  • Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
  • Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
  • Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.

For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .