samqdemocorp-mend / box_mojito

https://github.com/box/mojito.git
Apache License 2.0
0 stars 0 forks source link

spring-boot-configuration-processor-1.3.5.RELEASE.jar: 3 vulnerabilities (highest severity is: 8.7) reachable #23

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

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - spring-boot-configuration-processor-1.3.5.RELEASE.jar

Path to dependency file: /restclient/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20140107/json-20140107.jar

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-boot-configuration-processor version) Remediation Possible** Reachability
WS-2017-3805 High 8.7 Not Defined json-20140107.jar Transitive 1.5.0.RELEASE

Reachable

CVE-2023-5072 High 8.7 Not Defined 0.1% json-20140107.jar Transitive 1.5.0.RELEASE

Reachable

CVE-2022-45688 High 8.7 Not Defined 0.1% json-20140107.jar Transitive 1.5.0.RELEASE

Unreachable

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

Details

WS-2017-3805 ### Vulnerable Library - json-20140107.jar

JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There is a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully. The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose a different package. The package compiles on Java 1.2 thru Java 1.4.

Library home page: https://github.com/douglascrockford/JSON-java

Path to dependency file: /restclient/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20140107/json-20140107.jar

Dependency Hierarchy: - spring-boot-configuration-processor-1.3.5.RELEASE.jar (Root Library) - :x: **json-20140107.jar** (Vulnerable Library)

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.box.l10n.mojito.service.leveraging.LeveragingService (Application) -> com.github.tomakehurst.wiremock.http.MultiValue$1 (Extension) -> com.github.tomakehurst.wiremock.matching.ValuePattern (Extension) -> org.skyscreamer.jsonassert.JSONCompare (Extension) -> ❌ org.json.JSONArray (Vulnerable Component) ```

### Vulnerability Details

Affected versions of JSON In Java are vulnerable to Denial of Service (DoS) when trying to initialize a JSONArray object and the input is [. This will cause the jvm to crash with StackOverflowError due to non-cyclical stack overflow.

Publish Date: 2017-10-30

URL: WS-2017-3805

### Threat Assessment

Exploit Maturity: Not Defined

EPSS:

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2017-10-30

Fix Resolution (org.json:json): 20180130

Direct dependency fix Resolution (org.springframework.boot:spring-boot-configuration-processor): 1.5.0.RELEASE

In order to enable automatic remediation, please create workflow rules

CVE-2023-5072 ### Vulnerable Library - json-20140107.jar

JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There is a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully. The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose a different package. The package compiles on Java 1.2 thru Java 1.4.

Library home page: https://github.com/douglascrockford/JSON-java

Path to dependency file: /restclient/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20140107/json-20140107.jar

Dependency Hierarchy: - spring-boot-configuration-processor-1.3.5.RELEASE.jar (Root Library) - :x: **json-20140107.jar** (Vulnerable Library)

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.box.l10n.mojito.service.leveraging.LeveragingService (Application) -> com.github.tomakehurst.wiremock.http.MultiValue$1 (Extension) -> com.github.tomakehurst.wiremock.matching.ValuePattern (Extension) -> org.skyscreamer.jsonassert.JSONCompareResult (Extension) -> ❌ org.json.JSONObject (Vulnerable Component) ```

### Vulnerability Details

Denial of Service in JSON-Java versions up to and including 20230618.  A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used.

Publish Date: 2023-10-12

URL: CVE-2023-5072

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-rm7j-f5g5-27vv

Release Date: 2023-10-12

Fix Resolution (org.json:json): 20231013

Direct dependency fix Resolution (org.springframework.boot:spring-boot-configuration-processor): 1.5.0.RELEASE

In order to enable automatic remediation, please create workflow rules

CVE-2022-45688 ### Vulnerable Library - json-20140107.jar

JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There is a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully. The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose a different package. The package compiles on Java 1.2 thru Java 1.4.

Library home page: https://github.com/douglascrockford/JSON-java

Path to dependency file: /restclient/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20140107/json-20140107.jar

Dependency Hierarchy: - spring-boot-configuration-processor-1.3.5.RELEASE.jar (Root Library) - :x: **json-20140107.jar** (Vulnerable Library)

Found in HEAD commit: d4cbd8181219f9a6ad9908c6f748847b1efae670

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

Publish Date: 2022-12-13

URL: CVE-2022-45688

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-3vqj-43w4-2q58

Release Date: 2022-12-13

Fix Resolution (org.json:json): 20230227

Direct dependency fix Resolution (org.springframework.boot:spring-boot-configuration-processor): 1.5.0.RELEASE

In order to enable automatic remediation, please create workflow rules


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