CVE-2021-39144XStream
Remote Code Execution in XStream via Unsafe Deserialization
High 8.5 KEV High EPSS
Follow: this CVE · XStream · XStream We alert you by email or Slack (account required).
- 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
- 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.
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.
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.
- Apply the vendor's security update for XStream.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was March 31, 2023.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| xstream | xstream | < 1.4.18 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| netapp | snapmanager | all |
| netapp | snapmanager | all |
| oracle | business_activity_monitoring | 12.2.1.4.0 |
| oracle | commerce_guided_search | 11.3.2 |
| oracle | communications_billing_and_revenue_management_elastic_charging_engine | 11.3 |
| oracle | communications_billing_and_revenue_management_elastic_charging_engine | 12.0 |
| oracle | communications_cloud_native_core_automated_test_suite | 1.9.0 |
| oracle | communications_cloud_native_core_binding_support_function | 1.10.0 |
| oracle | communications_cloud_native_core_policy | 1.14.0 |
| oracle | communications_unified_inventory_management | 7.3.4 |
| oracle | communications_unified_inventory_management | 7.3.5 |
| oracle | communications_unified_inventory_management | 7.4.0 |
| oracle | communications_unified_inventory_management | 7.4.1 |
| oracle | communications_unified_inventory_management | 7.4.2 |
| oracle | retail_xstore_point_of_service | 16.0.6 |
| oracle | retail_xstore_point_of_service | 17.0.4 |
| oracle | retail_xstore_point_of_service | 18.0.3 |
| oracle | retail_xstore_point_of_service | 19.0.2 |
| oracle | retail_xstore_point_of_service | 20.0.1 |
| oracle | utilities_framework | 4.2.0.2.0 |
| oracle | utilities_framework | 4.2.0.3.0 |
| oracle | utilities_framework | 4.3.0.1.0 |
| oracle | utilities_framework | 4.3.0.6.0 |
| oracle | utilities_framework | 4.4.0.0.0 |
| oracle | utilities_framework | 4.4.0.2.0 |
| oracle | utilities_framework | 4.4.0.3.0 |
| oracle | utilities_testing_accelerator | 6.0.0.1.1 |
| oracle | webcenter_portal | 12.2.1.3.0 |
| oracle | webcenter_portal | 12.2.1.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Broken Link Mailing List Release Notes
- lists.fedoraproject.org Broken Link Mailing List Release Notes
- lists.fedoraproject.org Broken Link Mailing List Release Notes
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- x-stream.github.io Exploit Vendor Advisory
- www.cisa.gov US Government Resource