Hai-Levi / WebGoat

WebGoat
Other
0 stars 0 forks source link

xstream-1.4.5.jar: 3 vulnerabilities (highest severity is: 7.5) reachable #6

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - xstream-1.4.5.jar

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

Library home page: http://xstream.codehaus.org

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

Found in HEAD commit: 9e3b618a6ff7b37a2e421a6bf1fabf81ed6c7fd0

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (xstream version) Remediation Possible** Reachability
CVE-2024-47072 High 7.5 Not Defined 0.0% xstream-1.4.5.jar Direct 1.4.21

Reachable

CVE-2017-7957 High 7.5 Not Defined 74.6% xstream-1.4.5.jar Direct 1.4.10

Reachable

CVE-2016-3674 High 7.5 Not Defined 0.2% xstream-1.4.5.jar Direct 1.4.9

Unreachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-47072 ### Vulnerable Library - xstream-1.4.5.jar

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

Library home page: http://xstream.codehaus.org

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: 9e3b618a6ff7b37a2e421a6bf1fabf81ed6c7fd0

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.vulnerablecomponents.VulnerableComponentsLesson (Application) -> com.thoughtworks.xstream.XStream (Extension) -> com.thoughtworks.xstream.converters.reflection.ReflectionConverter (Extension) -> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter (Extension) -> ❌ com.thoughtworks.xstream.io.binary.BinaryStreamReader (Vulnerable Component) ```

### Vulnerability Details

XStream is a simple library to serialize objects to XML and back again. This vulnerability may allow a remote attacker to terminate the application with a stack overflow error resulting in a denial of service only by manipulating the processed input stream when XStream is configured to use the BinaryStreamDriver. XStream 1.4.21 has been patched to detect the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead. Users are advised to upgrade. Users unable to upgrade may catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.

Publish Date: 2024-11-07

URL: CVE-2024-47072

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-47072

Release Date: 2024-11-07

Fix Resolution: 1.4.21

In order to enable automatic remediation, please create workflow rules

CVE-2017-7957 ### Vulnerable Library - xstream-1.4.5.jar

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

Library home page: http://xstream.codehaus.org

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: 9e3b618a6ff7b37a2e421a6bf1fabf81ed6c7fd0

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.vulnerablecomponents.VulnerableComponentsLesson (Application) -> ❌ com.thoughtworks.xstream.XStream (Vulnerable Component) ```

### Vulnerability Details

XStream through 1.4.9, when a certain denyTypes workaround is not used, mishandles attempts to create an instance of the primitive type 'void' during unmarshalling, leading to a remote application crash, as demonstrated by an xstream.fromXML("") call.

Publish Date: 2017-04-29

URL: CVE-2017-7957

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 74.6%

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: http://x-stream.github.io/CVE-2017-7957.html

Release Date: 2017-04-29

Fix Resolution: 1.4.10

In order to enable automatic remediation, please create workflow rules

CVE-2016-3674 ### Vulnerable Library - xstream-1.4.5.jar

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

Library home page: http://xstream.codehaus.org

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: 9e3b618a6ff7b37a2e421a6bf1fabf81ed6c7fd0

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.

Publish Date: 2016-05-17

URL: CVE-2016-3674

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3674

Release Date: 2016-05-17

Fix Resolution: 1.4.9

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

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

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

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

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.