CVE-2021-39144
KEV PoC ×2massDeserialization RCE in XStream XML Library Affecting Multiple Vendors
CISA: XStream Remote Code Execution Vulnerability
CVE-2021-39144 is a remote code execution vulnerability in XStream, a widely used Java library that serializes objects to XML and back, caused by unsafe deserialization of a manipulated input stream (CWE-502, CWE-94, CWE-306). An attacker with sufficient rights to feed crafted input into an application running an affected XStream version can trigger arbitrary type instantiation and execute commands on the host, with high impact to confidentiality, integrity and availability (CVSS 3.1: 8.5, scope changed). Only deployments relying on XStream's default blacklist configuration are affected; users who configured XStream's security framework with a whitelist limited to the minimal required types are not affected, and XStream 1.4.18 removed the vulnerable default blacklist behavior. The library is embedded in many downstream products in the data, including Debian Linux and Fedora packages, NetApp SnapManager, and numerous Oracle Communications, Commerce and Retail products, and it was exploited in VMware Cloud Foundation and NSX Manager. The flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2023-03-10, is being actively exploited in the wild per current headlines, and EPSS assigns a 98.1% probability of exploitation within 30 days.
What to do: Upgrade XStream to 1.4.18 or later, or configure its security framework with a whitelist limited to the minimal required types; apply vendor-supplied updates for VMware Cloud Foundation/NSX Manager, Oracle, NetApp, Debian and Fedora per the CISA KEV required action. Prioritize internet-exposed VMware NSX Manager and Cloud Foundation deployments, which are being actively exploited, and audit any applications that pass untrusted XML input into XStream.
| XStream | prior to 1.4.18 (default blacklist configuration; whitelist users unaffected) |
| Debian Linux (xstream package) | — |
| Fedora Project Fedora (xstream package) | — |
| NetApp SnapManager | — |
| Oracle Business Activity Monitoring | — |
| Oracle Commerce Guided Search | — |
| Oracle Communications Billing and Revenue Management Elastic Charging Engine | — |
| Oracle Communications Cloud Native Core Automated Test Suite | — |
| Oracle Communications Cloud Native Core Binding Support Function | — |
| Oracle Communications Cloud Native Core Policy | — |
| Oracle Communications Unified Inventory Management | — |
| Oracle Retail Xstore Point of Service | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Affected
- XStream XStream
- Required action
- Apply updates per vendor instructions.
- Due date
- Ransomware use
- Unknown
- Vendors
- xstreamdebianfedoraprojectnetapporacle
- Products
- xstream, debian linux, fedora, snapmanager, business activity monitoring, commerce guided search, communications billing and revenue management elastic charging engine, communications cloud native core automated test suite, communications cloud native core binding support function, communications cloud native core policy, communications unified inventory management, retail xstore point of service
- Weakness
- CWE-94, CWE-502, CWE-306
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H