Live threats

All CVEs / XStream

CVE-2021-39144XStream

Remote Code Execution in XStream via Unsafe Deserialization

High 8.5 KEV High EPSS

Priority
61
CVSS 3.1
8.5
EPSS
98.2%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Mar 10, 2023
CISA deadline
Mar 31, 2023
Ransomware use
Unknown
Published
Aug 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-502, CWE-306
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

XStream versions prior to 1.4.18 allow an authenticated attacker to execute arbitrary commands on the server by manipulating the processed input stream. The vulnerability affects multiple products including Debian, Fedora, and NetApp SnapManager. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

XStream contains a remote code execution vulnerability that allows an attacker to manipulate the processed input stream and replace or inject objects that result in the execution of a local command on the server. This vulnerability can affect multiple products, including but not limited to VMware Cloud Foundation.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 1.4.18

Update XStream to version 1.4.18 or later. Implement a whitelist of allowed types in XStream's security framework.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for XStream.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was March 31, 2023.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.thoughtworks.xstream:xstream < 1.4.18 1.4.18 —

Per OSV / GitHub Advisories (GHSA-j9h8-phrw-h4fh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xstreamxstream< 1.4.18
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora33
fedoraprojectfedora34
fedoraprojectfedora35
netappsnapmanagerall
netappsnapmanagerall
oraclebusiness_activity_monitoring12.2.1.4.0
oraclecommerce_guided_search11.3.2
oraclecommunications_billing_and_revenue_management_elastic_charging_engine11.3
oraclecommunications_billing_and_revenue_management_elastic_charging_engine12.0
oraclecommunications_cloud_native_core_automated_test_suite1.9.0
oraclecommunications_cloud_native_core_binding_support_function1.10.0
oraclecommunications_cloud_native_core_policy1.14.0
oraclecommunications_unified_inventory_management7.3.4
oraclecommunications_unified_inventory_management7.3.5
oraclecommunications_unified_inventory_management7.4.0
oraclecommunications_unified_inventory_management7.4.1
oraclecommunications_unified_inventory_management7.4.2
oracleretail_xstore_point_of_service16.0.6
oracleretail_xstore_point_of_service17.0.4
oracleretail_xstore_point_of_service18.0.3
oracleretail_xstore_point_of_service19.0.2
oracleretail_xstore_point_of_service20.0.1
oracleutilities_framework4.2.0.2.0
oracleutilities_framework4.2.0.3.0
oracleutilities_framework4.3.0.1.0
oracleutilities_framework4.3.0.6.0
oracleutilities_framework4.4.0.0.0
oracleutilities_framework4.4.0.2.0
oracleutilities_framework4.4.0.3.0
oracleutilities_testing_accelerator6.0.0.1.1
oraclewebcenter_portal12.2.1.3.0
oraclewebcenter_portal12.2.1.4.0

Official sources

References

Links published by the sources. Open them with care.