CVE-2021-39139
HIGH 8.8CVSS 3.1XStream is vulnerable to an Arbitrary Code 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 to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. 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.
- Published
- 23 Aug 2021
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-434CWE-502
- Also known as
- GHSA-64xx-cq4q-mf44
- Sources
- NVDJSONOSV GHSA-64xx-cq4q-mf44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xstream | xstreamcpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* |
< 1.4.18 | 1.4.18 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | netapp | snapmanagercpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:* |
(no version) | |
| NVD | netapp | snapmanagercpe:2.3:a:netapp:snapmanager:-:*:*:*:*:sap:*:* |
(no version) | |
| NVD | oracle | business_activity_monitoringcpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | commerce_guided_searchcpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* |
= 11.3.2 | |
| NVD | oracle | communications_billing_and_revenue_management_elastic_charging_enginecpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:11.3:*:*:*:*:*:*:* |
= 11.3 | |
| NVD | oracle | communications_billing_and_revenue_management_elastic_charging_enginecpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| NVD | oracle | communications_cloud_native_core_automated_test_suitecpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | oracle | communications_cloud_native_core_binding_support_functioncpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.10.0:*:*:*:*:*:*:* |
= 1.10.0 | |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:* |
= 7.3.4 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:* |
= 7.3.5 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:* |
= 7.4.0 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* |
= 7.4.1 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:* |
= 7.4.2 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:* |
= 16.0.6 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:* |
= 17.0.4 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:* |
= 18.0.3 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:* |
= 19.0.2 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:20.0.1:*:*:*:*:*:*:* |
= 20.0.1 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.2.0.2.0:*:*:*:*:*:*:* |
= 4.2.0.2.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.2.0.3.0:*:*:*:*:*:*:* |
= 4.2.0.3.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.3.0.1.0:*:*:*:*:*:*:* |
= 4.3.0.1.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.3.0.6.0:*:*:*:*:*:*:* |
= 4.3.0.6.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:* |
= 4.4.0.0.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.2.0:*:*:*:*:*:*:* |
= 4.4.0.2.0 | |
| NVD | oracle | utilities_frameworkcpe:2.3:a:oracle:utilities_framework:4.4.0.3.0:*:*:*:*:*:*:* |
= 4.4.0.3.0 | |
| NVD | oracle | utilities_testing_acceleratorcpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:* |
= 6.0.0.1.1 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| OSV | Maven | com.thoughtworks.xstream:xstream | < 1.4.18 | 1.4.18 |
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ · Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ · Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/ · Mailing List
- https://security.netapp.com/advisory/ntap-20210923-0003/ · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5004 · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://x-stream.github.io/CVE-2021-39139.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39139 · ADVISORY
- https://github.com/x-stream/xstream · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 23 Aug 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Aug 2021)