vital-ws / java-goof

0 stars 0 forks source link

todolist-web-common-0.0.1-SNAPSHOT.jar: 2 vulnerabilities (highest severity is: 9.8) #140

Open mend-for-github-com[bot] opened 8 months ago

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - todolist-web-common-0.0.1-SNAPSHOT.jar

Path to dependency file: /todolist-goof/todolist-web-struts/pom.xml

Path to vulnerable library: /todolist-goof/todolist-web-struts/pom.xml,/todolist-goof/todolist-web-common/pom.xml,/todolist-goof/todolist-core/pom.xml

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (todolist-web-common version) Remediation Possible**
CVE-2020-10683 Critical 9.8 dom4j-1.6.1.jar Transitive N/A*
CVE-2018-1000632 High 7.5 dom4j-1.6.1.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2020-10683 ### Vulnerable Library - dom4j-1.6.1.jar

dom4j: the flexible XML framework for Java

Library home page: http://dom4j.org

Path to dependency file: /todolist-goof/todolist-web-struts/pom.xml

Path to vulnerable library: /todolist-goof/todolist-web-struts/pom.xml,/todolist-goof/todolist-web-common/pom.xml,/todolist-goof/todolist-core/pom.xml

Dependency Hierarchy: - todolist-web-common-0.0.1-SNAPSHOT.jar (Root Library) - todolist-core-0.0.1-SNAPSHOT.jar - hibernate-core-4.3.7.Final.jar - :x: **dom4j-1.6.1.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

dom4j before 2.0.3 and 2.1.x before 2.1.3 allows external DTDs and External Entities by default, which might enable XXE attacks. However, there is popular external documentation from OWASP showing how to enable the safe, non-default behavior in any application that uses dom4j.

Publish Date: 2020-05-01

URL: CVE-2020-10683

### CVSS 3 Score Details (9.8)

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: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2020-05-01

Fix Resolution: org.dom4j:dom4j:2.1.3,org.dom4j:dom4j:2.0.3

CVE-2018-1000632 ### Vulnerable Library - dom4j-1.6.1.jar

dom4j: the flexible XML framework for Java

Library home page: http://dom4j.org

Path to dependency file: /todolist-goof/todolist-web-struts/pom.xml

Path to vulnerable library: /todolist-goof/todolist-web-struts/pom.xml,/todolist-goof/todolist-web-common/pom.xml,/todolist-goof/todolist-core/pom.xml

Dependency Hierarchy: - todolist-web-common-0.0.1-SNAPSHOT.jar (Root Library) - todolist-core-0.0.1-SNAPSHOT.jar - hibernate-core-4.3.7.Final.jar - :x: **dom4j-1.6.1.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.

Publish Date: 2018-08-20

URL: CVE-2018-1000632

### 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: High - 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-2018-1000632/

Release Date: 2018-08-20

Fix Resolution: org.dom4j:dom4j:2.0.3