BogdanOrg / WebGoat-PROD

Other
0 stars 0 forks source link

CVE-2020-26259 (Medium) detected in xstream-1.4.5.jar - autoclosed #180

Closed mend-for-github-com[bot] closed 11 months ago

mend-for-github-com[bot] commented 11 months ago

CVE-2020-26259 - Medium Severity Vulnerability

Vulnerable Library - xstream-1.4.5.jar

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - :x: **xstream-1.4.5.jar** (Vulnerable Library)

Found in HEAD commit: 8a2669e83afffcbb3acf1a84bedb598475d34e41

Found in base branch: develop

Vulnerability Details

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling. The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist running Java 15 or higher. No user is affected, who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.

Publish Date: 2020-12-16

URL: CVE-2020-26259

CVSS 3 Score Details (6.8)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/x-stream/xstream/security/advisories/GHSA-jfvx-7wrx-43fh

Release Date: 2020-12-16

Fix Resolution: 1.4.14-jdk7


mend-for-github-com[bot] commented 11 months ago

:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #183

mend-for-github-com[bot] commented 11 months ago

:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #183