Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-39139: Security patch for xstream (ALAS-2021-1729)

Back to Search

Amazon Linux AMI 2: CVE-2021-39139: Security patch for xstream (ALAS-2021-1729)

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
08/23/2021
Created
07/16/2022
Added
07/04/2022
Modified
07/14/2022

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-xstream
  • amazon-linux-ami-2-upgrade-xstream-javadoc

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;