XStream
XStream is vulnerable to a Remote Command Execution attack
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 1.4.18
Fixed in 1.4.18
from GitHub Security Advisory GHSA-j9h8-phrw-h4fh
Mitigation
Upgrade com.thoughtworks.xstream:xstream to 1.4.18 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.3 days after publication; added to CISA KEV 1.5 years after publication. First PoC: zwjjustdoit/Xstream-1.4.17 (created 24 Aug 2021, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| zwjjustdoit/Xstream-1.4.17 | 24 Aug 2021 +1.3 d | 62 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: VMware NSX Manager XStream unauthenticated RCE (exploit/linux/http/vmware_nsxmgr_xstream_rce_cve_2021_39144) | 4 Nov 2022 | 14 Nov 2026 |
| nuclei template | nuclei template: XStream 1.4.18 - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |