CVE-2021-39144: XStream Remote Code Execution Vulnerability
Vulnerability summary
CVE-2021-39144 is a high (CVSS 8.5) Code Injection vulnerability in XStream. It is known to be exploited: CISA lists it, first on 10-03-2023. EPSS estimates a 98.12% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 23-08-2021PublishedVulnerability first disclosed.
- 10-03-2023Added to CISA KEVXStream Remote Code Execution Vulnerability
- 31-03-2023CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H
- NVDNIST8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
98.12%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 98.12% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 10-03-2023
- Federal due date
- 31-03-2023
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-39144
Public exploits
3 foundExploit Reference (x-stream.github.io)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
VMware NSX Manager XStream unauthenticated RCE
exploit/linux/http/vmware_nsxmgr_xstream_rce_cve_2021_39144
Maturity: weaponized
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-502Deserialization of Untrusted DataThe product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
- CWE-306Missing Authentication for Critical FunctionThe product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Affected systems
Oracle11 products
- business_activity_monitoring12.2.1.4.0
- commerce_guided_search11.3.2
- communications_billing_and_revenue_management_elastic_charging_engine11.3 | 12.0
- communications_cloud_native_core_automated_test_suite1.9.0
- communications_cloud_native_core_binding_support_function1.10.0
Chainguard2 products
- hadoop-fips-3.3.6All versions (No fix recorded)
- hadoop-fips-3.4.2All versions (No fix recorded)
Debian2 products
- libxstream-java< 1.4.18-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Com.thoughtworks.xstream1 product
- xstream< 1.4.18
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Netapp1 product
Ubuntu1 product
- libxstream-java< 1.4.11.1-1+deb10u4build0.18.04.1 | < 1.4.11.1-1ubuntu0.3
X-stream1 product
- xstream< 1.4.18
Xstream1 product
- xstream< 1.4.18
9 vendors · 21 products
References
27 links- lists.debian.org/debian-lts-announce/2021/09/msg00017.htmlMailing ListAdvisoryWEBThird Party Advisory
Show all 27 references
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144Government ResourceWEBUS Government Resource
- github.com/x-stream/xstreamPACKAGE