CVSS 3.1
8.5 highCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HHigh (8.5). EPSS 11% estimated probability of exploitation activity in the next 30 days. Fixed in com.thoughtworks.xstream:xstream 1.4.18.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:Hcom.thoughtworks.xstream:xstream (Maven): fixed in 1.4.18Explain CVE-2021-39152 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39152?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39152?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-39152 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| xstream:xstream | before 1.4.18 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| oracle:business_activity_monitoring | 12.2.1.4.0 |
| oracle:commerce_guided_search | 11.3.2 |
| oracle:communications_billing_and_revenue_management_elastic_charging_engine | 11.3 |
| oracle:communications_billing_and_revenue_management_elastic_charging_engine | 12.0 |
| oracle:communications_cloud_native_core_automated_test_suite | 1.9.0 |
| oracle:communications_cloud_native_core_binding_support_function | 1.10.0 |
| oracle:communications_cloud_native_core_policy | 1.14.0 |
| oracle:communications_unified_inventory_management | 7.3.4 |
| oracle:communications_unified_inventory_management | 7.3.5 |
| oracle:communications_unified_inventory_management | 7.4.0 |
| oracle:communications_unified_inventory_management | 7.4.1 |
| oracle:communications_unified_inventory_management | 7.4.2 |
| oracle:retail_xstore_point_of_service | 16.0.6 |
| oracle:retail_xstore_point_of_service | 17.0.4 |
| oracle:retail_xstore_point_of_service | 18.0.3 |
| oracle:retail_xstore_point_of_service | 19.0.2 |
| oracle:retail_xstore_point_of_service | 20.0.1 |
| oracle:utilities_framework | 4.2.0.2.0 |
| oracle:utilities_framework | 4.2.0.3.0 |
| oracle:utilities_framework | 4.3.0.1.0 |
| oracle:utilities_framework | 4.3.0.6.0 |
| oracle:utilities_framework | 4.4.0.0.0 |
| oracle:utilities_framework | 4.4.0.2.0 |
| oracle:utilities_framework | 4.4.0.3.0 |
| oracle:utilities_testing_accelerator | 6.0.0.1.1 |
| oracle:webcenter_portal | 12.2.1.3.0 |
| oracle:webcenter_portal | 12.2.1.4.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xw4p-crpj-vjx2 | Maven | com.thoughtworks.xstream:xstream | <1.4.18 | 1.4.18 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | libxstream-java | 1.4.11.1-1+deb9u4 | DLA-2769-1 |
| Debian | 10 | libxstream-java | 1.4.11.1-1+deb10u3 | DSA-5004-1 |
| Debian | 11 | libxstream-java | 1.4.15-3+deb11u1 | DSA-5004-1 |
| Debian | 12, 13, 14 | libxstream-java | 1.4.18-1 | DEBIAN-CVE-2021-39152 |
| Ubuntu | 18.04:LTS | libxstream-java | 1.4.11.1-1+deb10u4build0.18.04.1 | UBUNTU-CVE-2021-39152 USN-5946-1 |
| Ubuntu | 20.04:LTS | libxstream-java | 1.4.11.1-1ubuntu0.3 | UBUNTU-CVE-2021-39152 USN-5946-1 |
| Ubuntu | 22.04:LTS | libxstream-java | 1.4.18-2ubuntu0.1 | USN-5946-1 |
| Ubuntu | Pro:14.04:LTS | libxstream-java | 1.4.7-1ubuntu0.1+esm1 | USN-5946-1 |
| Ubuntu | Pro:16.04:LTS | libxstream-java | 1.4.8-1ubuntu0.1+esm1 | USN-5946-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | xstream, xstream-javadoc | 0:1.3.1-16.el7_9 | RHSA-2021:3956 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3, Manager Server Module 4.1 and 1 more | xstream | 1.4.18-3.14.1 | SUSE-SU-2021:3476-1 |
| openSUSE | Leap 15.2 | xstream | 1.4.18-lp152.2.12.1 | openSUSE-SU-2021:1401-1 |
| openSUSE | Leap 15.3 | xstream | 1.4.18-3.14.1 | openSUSE-SU-2021:3476-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
Users who follow the recommended security framework with a whitelist to limit the types to the minimum required should not be affected. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
OpenShift Container Platform (OCP) delivers the Jenkins LTS package with bundled XStream library. Due to JEP-200 [1] and JEP-228 [2] Jenkins projects, the OCP Jenkins package is not affected by this flaw.
This version of the XStream library will be delivered in future Jenkins releases.
[1] https://github.com/jenkinsci/jep/blob/master/jep/200/README.adoc
[2] https://github.com/jenkinsci/jep/blob/master/jep/228/README.adoc#security
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Data Grid 8.3.0 | xstream | Fixed 2022-02-14 | RHSA-2022:0520 |
| Red Hat Enterprise Linux 7 | xstream-0:1.3.1-16.el7_9 | Fixed 2021-10-25 | RHSA-2021:3956 |
| Red Hat Integration | xstream | Fixed 2021-12-02 | RHSA-2021:4918 |
| Red Hat Integration Camel Quarkus 2 | Fixed 2021-11-23 | RHSA-2021:4767 | |
| RHDM 7.12.0 | xstream | Fixed 2022-01-26 | RHSA-2022:0297 |
| RHPAM 7.12.0 | xstream | Fixed 2022-01-26 | RHSA-2022:0296 |
| Red Hat BPM Suite 6 | xstream | Out of support scope | |
| Red Hat Fuse 7 | xstream | Not affected | |
| Red Hat Integration Camel Quarkus 1 | xstream | Out of support scope | |
| Red Hat JBoss A-MQ 6 | xstream | Out of support scope | |
| Red Hat JBoss BRMS 5 | xstream | Out of support scope | |
| Red Hat JBoss BRMS 6 | xstream | Out of support scope | |
| Red Hat JBoss Data Grid 7 | xstream | Out of support scope | |
| Red Hat JBoss Data Virtualization 6 | xstream | Out of support scope | |
| Red Hat JBoss Fuse 6 | xstream | Out of support scope | |
| Red Hat JBoss Fuse Service Works 6 | xstream | Out of support scope | |
| Red Hat JBoss SOA Platform 5 | xstream | Out of support scope | |
| Red Hat OpenShift Container Platform 3.11 | jenkins | Not affected | |
| Red Hat OpenShift Container Platform 4 | jenkins | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-39152.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.