vital-ws / java-goof

0 stars 0 forks source link

c3p0-0.9.1.2.jar: 2 vulnerabilities (highest severity is: 9.8) #127

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

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

c3p0 is an easy-to-use library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension.

Library home page: http://c3p0.sourceforge.net

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

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (c3p0 version) Remediation Possible**
CVE-2018-20433 Critical 9.8 c3p0-0.9.1.2.jar Direct 0.9.5.3
CVE-2019-5427 High 7.5 c3p0-0.9.1.2.jar Direct com.mchange:c3p0:0.9.5.4

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

Details

CVE-2018-20433 ### Vulnerable Library - c3p0-0.9.1.2.jar

c3p0 is an easy-to-use library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension.

Library home page: http://c3p0.sourceforge.net

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

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

Dependency Hierarchy: - :x: **c3p0-0.9.1.2.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

c3p0 0.9.5.2 allows XXE in extractXmlConfigFromInputStream in com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java during initialization.

Publish Date: 2018-12-24

URL: CVE-2018-20433

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

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

Release Date: 2018-12-24

Fix Resolution: 0.9.5.3

In order to enable automatic remediation, please create workflow rules

CVE-2019-5427 ### Vulnerable Library - c3p0-0.9.1.2.jar

c3p0 is an easy-to-use library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension.

Library home page: http://c3p0.sourceforge.net

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

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

Dependency Hierarchy: - :x: **c3p0-0.9.1.2.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

c3p0 version < 0.9.5.4 may be exploited by a billion laughs attack when loading XML configuration due to missing protections against recursive entity expansion when loading configuration.

Publish Date: 2019-04-22

URL: CVE-2019-5427

### 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5427

Release Date: 2019-04-22

Fix Resolution: com.mchange:c3p0:0.9.5.4

In order to enable automatic remediation, please create workflow rules


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