UrielProd / WebGoat

Other
0 stars 0 forks source link

spring-boot-starter-data-jpa-2.1.12.RELEASE.jar: 3 vulnerabilities (highest severity is: 9.8) #53

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

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - spring-boot-starter-data-jpa-2.1.12.RELEASE.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/hibernate-core/5.3.15.Final/hibernate-core-5.3.15.Final.jar

Found in HEAD commit: 3785d355b5ceb4898fb011d8d0db28ef0e335159

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-data-jpa version) Remediation Possible**
CVE-2020-10683 Critical 9.8 dom4j-2.1.1.jar Transitive 2.1.14.RELEASE
CVE-2020-25638 High 7.4 hibernate-core-5.3.15.Final.jar Transitive 2.2.0.RELEASE
CVE-2019-14900 Medium 6.5 hibernate-core-5.3.15.Final.jar Transitive 2.1.17.RELEASE

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

Details

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

flexible XML framework for Java

Library home page: http://dom4j.github.io/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/dom4j/dom4j/2.1.1/dom4j-2.1.1.jar

Dependency Hierarchy: - spring-boot-starter-data-jpa-2.1.12.RELEASE.jar (Root Library) - hibernate-core-5.3.15.Final.jar - :x: **dom4j-2.1.1.jar** (Vulnerable Library)

Found in HEAD commit: 3785d355b5ceb4898fb011d8d0db28ef0e335159

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-jpa): 2.1.14.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-25638 ### Vulnerable Library - hibernate-core-5.3.15.Final.jar

Hibernate's core ORM functionality

Library home page: http://hibernate.org/orm

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/hibernate-core/5.3.15.Final/hibernate-core-5.3.15.Final.jar

Dependency Hierarchy: - spring-boot-starter-data-jpa-2.1.12.RELEASE.jar (Root Library) - :x: **hibernate-core-5.3.15.Final.jar** (Vulnerable Library)

Found in HEAD commit: 3785d355b5ceb4898fb011d8d0db28ef0e335159

Found in base branch: main

### Vulnerability Details

A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.

Publish Date: 2020-12-02

URL: CVE-2020-25638

### CVSS 3 Score Details (7.4)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://in.relation.to/2020/11/19/hibernate-orm-5424-final-release/

Release Date: 2020-12-02

Fix Resolution (org.hibernate:hibernate-core): 5.3.20.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-jpa): 2.2.0.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2019-14900 ### Vulnerable Library - hibernate-core-5.3.15.Final.jar

Hibernate's core ORM functionality

Library home page: http://hibernate.org/orm

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/hibernate/hibernate-core/5.3.15.Final/hibernate-core-5.3.15.Final.jar

Dependency Hierarchy: - spring-boot-starter-data-jpa-2.1.12.RELEASE.jar (Root Library) - :x: **hibernate-core-5.3.15.Final.jar** (Vulnerable Library)

Found in HEAD commit: 3785d355b5ceb4898fb011d8d0db28ef0e335159

Found in base branch: main

### Vulnerability Details

A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.

Publish Date: 2020-07-06

URL: CVE-2019-14900

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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-2019-14900

Release Date: 2020-07-06

Fix Resolution (org.hibernate:hibernate-core): 5.3.18.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-jpa): 2.1.17.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.