CVE-2021-39139CWE-434CWE-502unrestricted-file-uploadinsecure-deserialization

CVE-2021-39139

High · published August 23, 2021

CVSS v3.1
8.5
EPSS
5%
Percentile
91.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04540 · 91.5th percentile
Weaknesses
CWE-434 · Unrestricted Upload of File with Dangerous Type; CWE-502 · Deserialization of Untrusted Data
Published
2021-08-23T22:15Z
Affected products (36)
ProductVersionsFixed in
xstream/xstream< 1.4.181.4.18
debian/debian_linuxall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
netapp/snapmanagerall versions—
netapp/snapmanagerall versions—
oracle/business_activity_monitoringall versions—
oracle/commerce_guided_searchall versions—
oracle/communications_billing_and_revenue_management_elastic_charging_engineall versions—
oracle/communications_billing_and_revenue_management_elastic_charging_engineall versions—
oracle/communications_cloud_native_core_automated_test_suiteall versions—
oracle/communications_cloud_native_core_binding_support_functionall versions—
oracle/communications_cloud_native_core_policyall versions—
oracle/communications_unified_inventory_managementall versions—
oracle/communications_unified_inventory_managementall versions—
oracle/communications_unified_inventory_managementall versions—
oracle/communications_unified_inventory_managementall versions—
oracle/communications_unified_inventory_managementall versions—
oracle/retail_xstore_point_of_serviceall versions—
oracle/retail_xstore_point_of_serviceall versions—
oracle/retail_xstore_point_of_serviceall versions—
oracle/retail_xstore_point_of_serviceall versions—
oracle/retail_xstore_point_of_serviceall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_frameworkall versions—
oracle/utilities_testing_acceleratorall versions—
oracle/webcenter_portalall versions—
oracle/webcenter_portalall versions—
References (22)
https://github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44 · [email protected]https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/ · [email protected]https://security.netapp.com/advisory/ntap-20210923-0003/ · [email protected]https://www.debian.org/security/2021/dsa-5004 · [email protected]https://www.oracle.com/security-alerts/cpuapr2022.html · [email protected]https://www.oracle.com/security-alerts/cpujan2022.html · [email protected]https://www.oracle.com/security-alerts/cpujul2022.html · [email protected]https://x-stream.github.io/CVE-2021-39139.html · [email protected]https://github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/ · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20210923-0003/ · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2021/dsa-5004 · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuapr2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujan2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujul2022.html · af854a3a-2127-422b-91ae-364da2661108https://x-stream.github.io/CVE-2021-39139.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 23 AUG 17:50Z
    XStream is vulnerable to an Arbitrary Code Execution attack
    cvelistv5