CVE-2021-39144
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.
Severity
HIGH
CVSS v3
8.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
98.124%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2023-03-10
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Weakness
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | XStream Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | XStream / XStream |
| Date added | 2023-03-10 |
| Federal remediation due date | 2023-03-31 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-06 |
Timeline
- 2021-08-23Published by the CNA00:00 UTC
- 2021-08-25GitHub advisory published (GHSA-j9h8-phrw-h4fh)2 days after publication
- 2023-03-10Added to the CISA KEV catalog564 days after publication
- 2025-02-06CISA SSVC decision recorded1263 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2021-39144: XStream 1.4.18 - Remote Code Execution
GitHub advisory GHSA-j9h8-phrw-h4fh, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.thoughtworks.xstream:xstream | before 1.4.18 | 1.4.18 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xstream xstream | before 1.4.18fixed in 1.4.18 | 1.4.18 |
| debian debian_linux | 10.0no fix listed11.0no fix listed9.0no fix listed | not listednot listednot listed |
| fedoraproject fedora | 33no fix listed34no fix listed35no fix listed | not listednot listednot listed |
| netapp snapmanager | ||
| oracle business_activity_monitoring | 12.2.1.4.0no fix listed | not listed |
| oracle commerce_guided_search | 11.3.2no fix listed | not listed |
| oracle communications_billing_and_revenue_management_elastic_charging_engine | 11.3no fix listed12.0no fix listed | not listednot listed |
| oracle communications_cloud_native_core_automated_test_suite | 1.9.0no fix listed | not listed |
| oracle communications_cloud_native_core_binding_support_function | 1.10.0no fix listed | not listed |
| oracle communications_cloud_native_core_policy | 1.14.0no fix listed | not listed |
| oracle communications_unified_inventory_management | 7.3.4no fix listed7.3.5no fix listed7.4.0no fix listed7.4.1no fix listed7.4.2no fix listed | not listednot listednot listednot listednot listed |
| oracle retail_xstore_point_of_service | 16.0.6no fix listed17.0.4no fix listed18.0.3no fix listed19.0.2no fix listed20.0.1no fix listed | not listednot listednot listednot listednot listed |
| oracle utilities_framework | 4.2.0.2.0no fix listed4.2.0.3.0no fix listed4.3.0.1.0no fix listed4.3.0.6.0no fix listed4.4.0.0.0no fix listed(+2 more) | not listednot listednot listednot listednot listed |
| oracle utilities_testing_accelerator | 6.0.0.1.1no fix listed | not listed |
| oracle webcenter_portal | 12.2.1.3.0no fix listed12.2.1.4.0no fix listed | not listednot listed |
References
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://www.debian.org/security/2021/dsa-5004
- https://x-stream.github.io/CVE-2021-39144.html
- http://packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
- https://security.netapp.com/advisory/ntap-20210923-0003/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-39144'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-39144'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-39144'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-39144'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-39144'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).