High severity · published Aug 23, 2021
CVE-2021-39139
XStream is vulnerable to an Arbitrary Code Execution attack
8.8
CVSS
4.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.5% · higher than 92% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XS
xstream · x-stream
< 1.4.18 · source: vendor, NVD
BA
CG
CU
Communications Unified Inventory Management · Oracle
7.3.4; 7.3.5; 7.4.0; 7.4.1; 7.4.2 · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
FE
Fedora · Fedoraproject
33; 34; 35 · source: NVD
RX
Retail Xstore Point OF Service · Oracle
16.0.6; 17.0.4; 18.0.3; 19.0.2; 20.0.1 · source: NVD
SN
Snapmanager · Netapp
All versions, or not specified · source: NVD