AlexRogalskiy / object-mappers-playground

Object mappers playground
GNU General Public License v3.0
3 stars 3 forks source link

CVE-2021-39147 (High) detected in xstream-1.4.7.jar, xstream-1.4.9.jar #268

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-39147 - High Severity Vulnerability

Vulnerable Libraries - xstream-1.4.7.jar, xstream-1.4.9.jar

xstream-1.4.7.jar

XStream is a serialization library from Java objects to XML and back.

Path to dependency file: /modules/objectmappers-smooks/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar

Dependency Hierarchy: - milyn-smooks-all-1.7.1.jar (Root Library) - :x: **xstream-1.4.7.jar** (Vulnerable Library)

xstream-1.4.9.jar

XStream is a serialization library from Java objects to XML and back.

Library home page: http://x-stream.github.io

Path to dependency file: /modules/objectmappers-benchmarks/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar,/home/wss-scanner/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar

Dependency Hierarchy: - jmapper-core-1.6.1.CR2.jar (Root Library) - :x: **xstream-1.4.9.jar** (Vulnerable Library)

Found in HEAD commit: 8455d16e2cdb4eafbbcc9778f7c057a9dcf98a55

Found in base branch: master

Vulnerability Details

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. 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.

Publish Date: 2021-08-23

URL: CVE-2021-39147

CVSS 3 Score Details (8.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/x-stream/xstream/security/advisories/GHSA-h7v4-7xg3-hxcc

Release Date: 2021-08-23

Fix Resolution: com.thoughtworks.xstream:xstream:1.4.18


Step up your Open Source Security Game with Mend here

github-actions[bot] commented 3 years ago

Thank you for opening an issue. If this issue is related to a bug, please follow the steps and provide the information outlined in the Troubleshooting Guide. Failure to follow these instructions may result in automatic closing of this issue.