CVE-2021-21345CWE-502CWE-78CWE-94command-injectioninsecure-deserializationcode-injection

CVE-2021-21345

Medium · published March 23, 2021

Patch now

High probability of exploitation

CVSS calls it medium at 5.8. It sits in the 99.4th percentile for exploit probability.

CVSS v3.1
5.8
EPSS
72%
Percentile
99.4
In the wild
Unconfirmed
What it is

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker who 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.72324 · 99.4th percentile
Weaknesses
CWE-502 · Deserialization of Untrusted Data; CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2021-03-23T04:15Z
Affected products (40)
ProductVersionsFixed in
netapp/oncommand_insightall versions—
apache/activemq< 5.15.145.15.14
apache/activemqall versions—
apache/activemqall versions—
apache/jmeter< 5.55.5
xstream/xstream< 1.4.161.4.16
debian/debian_linuxall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
oracle/banking_enterprise_default_managementall versions—
oracle/banking_enterprise_default_managementall versions—
oracle/banking_platformall versions—
oracle/banking_platformall versions—
oracle/banking_platformall versions—
oracle/banking_platformall versions—
oracle/banking_virtual_account_managementall versions—
oracle/banking_virtual_account_managementall versions—
oracle/banking_virtual_account_managementall versions—
oracle/business_activity_monitoringall versions—
oracle/business_activity_monitoringall versions—
oracle/business_activity_monitoringall versions—
oracle/communications_billing_and_revenue_management_elastic_charging_engineall versions—
oracle/communications_policy_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/communications_unified_inventory_managementall versions—
oracle/peoplesoft_enterprise_peopletoolsall versions—
oracle/peoplesoft_enterprise_peopletoolsall 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/webcenter_portalall versions—
oracle/webcenter_portalall versions—
oracle/webcenter_portalall versions—
References (32)
https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4 · af854a3a-2127-422b-91ae-364da2661108http://x-stream.github.io/changes.html#1.4.16 · [email protected]https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4 · [email protected]https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E · [email protected]https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E · [email protected]https://lists.debian.org/debian-lts-announce/2021/04/msg00002.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-20210430-0002/ · [email protected]https://www.debian.org/security/2021/dsa-5004 · [email protected]https://www.oracle.com//security-alerts/cpujul2021.html · [email protected]https://www.oracle.com/security-alerts/cpuApr2021.html · [email protected]https://www.oracle.com/security-alerts/cpujan2022.html · [email protected]https://www.oracle.com/security-alerts/cpuoct2021.html · [email protected]https://x-stream.github.io/CVE-2021-21345.html · [email protected]https://x-stream.github.io/security.html#workaround · [email protected]http://x-stream.github.io/changes.html#1.4.16 · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/04/msg00002.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-20210430-0002/ · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2021/dsa-5004 · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com//security-alerts/cpujul2021.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuApr2021.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujan2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2021.html · af854a3a-2127-422b-91ae-364da2661108https://x-stream.github.io/CVE-2021-21345.html · af854a3a-2127-422b-91ae-364da2661108https://x-stream.github.io/security.html#workaround · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 22 MAR 23:40Z
    XStream is vulnerable to a Remote Command Execution attack
    cvelistv5