Read the docs
TI-2021-16530 Aliases CVE-2021-39144GHSA-j9h8-phrw-h4fh

XStream is vulnerable to a Remote Command Execution attack

Priority CRITICAL 96Exploited in the wildCWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution, Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 11 fixed, 9 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502 and CWE-306.

Summary

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker has sufficient rights to execute commands of the 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Why it matters now

Exploitation Active In CISA KEV since 2023-03-10CISA due date 2023-03-31
EPSS 0.98124 99th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial xstream (x-stream): 1.4.18com.thoughtworks.xstream:xstream (Maven): 1.4.18Red Hat: 8 advisoriesRed Hat: 11 fixed, 9 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Active
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XStreamxstreambefore 1.4.181.4.18Patch availableCNA
—com.thoughtworks.xstream:xstream (Maven)before 1.4.181.4.18Patch availableGHSA-j9h8-phrw-h4fh
  • xstream VendorXStream Affected before 1.4.18 Fixed in 1.4.18 Patch available CNA
  • com.thoughtworks.xstream:xstream (Maven) Vendor— Affected before 1.4.18 Fixed in 1.4.18 Patch available GHSA-j9h8-phrw-h4fh

CPE configurations NVD · 36

CPEVersionsRoleVendor
cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*before 1.4.18VulnerableXStream
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:sap:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*12.2.1.4.0VulnerableOracle
  • cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* Versions before 1.4.18 Vulnerable ·XStream
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:sap:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:* Versions 12.2.1.4.0 Vulnerable ·Oracle
Show 26 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*11.3.2VulnerableOracle
cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:11.3:*:*:*:*:*:*:*11.3VulnerableOracle
cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0:*:*:*:*:*:*:*12.0VulnerableOracle
cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:*1.9.0VulnerableOracle
cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.10.0:*:*:*:*:*:*:*1.10.0VulnerableOracle
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*1.14.0VulnerableOracle
cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*7.3.4VulnerableOracle
cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:*7.3.5VulnerableOracle
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*7.4.0VulnerableOracle
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*7.4.1VulnerableOracle
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:*7.4.2VulnerableOracle
cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*16.0.6VulnerableOracle
cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:*17.0.4VulnerableOracle
cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:*18.0.3VulnerableOracle
cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:*19.0.2VulnerableOracle
cpe:2.3:a:oracle:retail_xstore_point_of_service:20.0.1:*:*:*:*:*:*:*20.0.1VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.2.0.2.0:*:*:*:*:*:*:*4.2.0.2.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.2.0.3.0:*:*:*:*:*:*:*4.2.0.3.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.3.0.1.0:*:*:*:*:*:*:*4.3.0.1.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.3.0.6.0:*:*:*:*:*:*:*4.3.0.6.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:*4.4.0.0.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.4.0.2.0:*:*:*:*:*:*:*4.4.0.2.0VulnerableOracle
cpe:2.3:a:oracle:utilities_framework:4.4.0.3.0:*:*:*:*:*:*:*4.4.0.3.0VulnerableOracle
cpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:*6.0.0.1.1VulnerableOracle
cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*12.2.1.3.0VulnerableOracle
cpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:*12.2.1.4.0VulnerableOracle
  • cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* Versions 11.3.2 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:11.3:*:*:*:*:*:*:* Versions 11.3 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:* Versions 1.9.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.10.0:*:*:*:*:*:*:* Versions 1.10.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* Versions 1.14.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:* Versions 7.3.4 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:* Versions 7.3.5 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:* Versions 7.4.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* Versions 7.4.1 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:* Versions 7.4.2 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:* Versions 16.0.6 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:* Versions 17.0.4 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:* Versions 18.0.3 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:* Versions 19.0.2 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:retail_xstore_point_of_service:20.0.1:*:*:*:*:*:*:* Versions 20.0.1 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.2.0.2.0:*:*:*:*:*:*:* Versions 4.2.0.2.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.2.0.3.0:*:*:*:*:*:*:* Versions 4.2.0.3.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.3.0.1.0:*:*:*:*:*:*:* Versions 4.3.0.1.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.3.0.6.0:*:*:*:*:*:*:* Versions 4.3.0.6.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:* Versions 4.4.0.0.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.4.0.2.0:*:*:*:*:*:*:* Versions 4.4.0.2.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_framework:4.4.0.3.0:*:*:*:*:*:*:* Versions 4.4.0.3.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:* Versions 6.0.0.1.1 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:* Versions 12.2.1.3.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:* Versions 12.2.1.4.0 Vulnerable ·Oracle

Remediation

  • Fix · CNA xstream (x-stream) Fixed in 1.4.18
  • Fix · GHSA-j9h8-phrw-h4fh com.thoughtworks.xstream:xstream (Maven) Fixed in 1.4.18 Advisory →

Red Hat 8 advisories

  • RHSA-2023:3892 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 security update
    • Red Hat Single Sign-On 7
  • RHSA-2023:1303 Released 2023-03-17 · Red Hat rating Important
    Red Hat Data Grid 7.3.10 security update
    • Red Hat Data Grid 7.3.10
  • RHSA-2022:0520 Released 2022-02-14 · Red Hat rating Moderate
    Red Hat Data Grid 8.3.0 security update
    • Red Hat Data Grid 8.3.0
Show 5 more Red Hat advisories
  • RHSA-2022:0297 Released 2022-01-26 · Red Hat rating Moderate
    Red Hat Decision Manager 7.12.0 security update
    • RHDM 7.12.0
  • RHSA-2022:0296 Released 2022-01-26 · Red Hat rating Critical
    Red Hat Process Automation Manager 7.12.0 security update
    • RHPAM 7.12.0
  • RHSA-2021:4918 Released 2021-12-02 · Red Hat rating Moderate
    Red Hat Integration Camel-K 1.6 release and security update
    • Red Hat Integration
  • RHSA-2021:4767 Released 2021-11-23 · Red Hat rating Moderate
    Red Hat Integration Camel Extensions for Quarkus GA security update
    • Red Hat Integration Camel Quarkus 2
  • RHSA-2021:3956 Released 2021-10-25 · Red Hat rating Important
    xstream security update
    • Red Hat Enterprise Linux Client Optional (v. 7) xstream-1.3.1-16.el7_9, xstream-javadoc-1.3.1-16.el7_9
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) xstream-1.3.1-16.el7_9, xstream-javadoc-1.3.1-16.el7_9
    • Red Hat Enterprise Linux Server Optional (v. 7) xstream-1.3.1-16.el7_9, xstream-javadoc-1.3.1-16.el7_9
    • Red Hat Enterprise Linux Workstation Optional (v. 7) xstream-1.3.1-16.el7_9, xstream-javadoc-1.3.1-16.el7_9

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat BPM Suite 6AffectedNo fix planned: Out of support scope
Red Hat Integration Camel Quarkus 1AffectedNo fix yet
Red Hat JBoss A-MQ 6AffectedNo fix yet
Red Hat JBoss BRMS 5AffectedNo fix planned: Out of support scope
Red Hat JBoss BRMS 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Data Virtualization 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Fuse 6AffectedNo fix yet
Red Hat JBoss Fuse Service Works 6AffectedNo fix planned: Out of support scope
Red Hat JBoss SOA Platform 5AffectedNo fix planned: Out of support scope
RHDM 7.12.0Fixed RHSA-2022:0297
RHPAM 7.12.0Fixed RHSA-2022:0296
Red Hat Data Grid 7.3.10Fixed RHSA-2023:1303
Red Hat Data Grid 8.3.0Fixed RHSA-2022:0520
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2021:3956
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2021:3956
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2021:3956
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2021:3956
Red Hat IntegrationFixed RHSA-2021:4918
Red Hat Integration Camel Quarkus 2Fixed RHSA-2021:4767
Red Hat Single Sign-On 7Fixed RHSA-2023:3892
Not affected: 17 products
  • A-MQ Clients 2
  • Logging Subsystem for Red Hat OpenShift
  • Migration Toolkit for Applications 6
  • Migration Toolkit for Runtimes
  • OpenShift Developer Tools and Services
  • Red Hat AMQ Broker 7
  • Red Hat Fuse 7
  • Red Hat JBoss Enterprise Application Platform 6
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift Application Runtimes
  • Red Hat OpenShift Container Platform 3.11
  • Red Hat OpenShift Container Platform 4
  • Red Hat build of Apache Camel for Spring Boot 3
  • Red Hat build of Apicurio Registry 2
  • Red Hat build of Debezium 1
  • Red Hat build of Quarkus

Timeline

  1. 2023-03-10 Added to CISA KEV
  2. 2026-10-02 Threatist record created from CVE-2021-39144
  3. 2026-10-03 Alias added: GHSA-j9h8-phrw-h4fh

References

  • TI-2013-05951 Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not… CVSS 3.1CRITICAL 9.8
  • TI-2021-04451 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.1
  • TI-2021-04446 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
  • TI-2021-04444 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
  • TI-2020-16038 Remote Code Execution in XStream CVSS 3.1HIGH 8.8
  • TI-2019-07494 Code injection in xstream CVSS 3.1CRITICAL 9.8
See all 36 →

Sources