prafullkotecha / docusign-hackathon

https://docusign2021.devpost.com/resources
MIT License
0 stars 0 forks source link

CVE-2022-45688 (High) detected in json-20140107.jar #63

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

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-45688 - High Severity Vulnerability

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: /pom.xml

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

Dependency Hierarchy: - docusign-esign-java-3.13.0-RC1.jar (Root Library) - org.apache.oltu.oauth2.client-1.0.2.jar - org.apache.oltu.oauth2.common-1.0.2.jar - :x: **json-20140107.jar** (Vulnerable Library)

Found in HEAD commit: 0ee792f59c88ec2e75a080212b78199cb833d931

Found in base branch: main

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

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://github.com/advisories/GHSA-3vqj-43w4-2q58

Release Date: 2022-12-13

Fix Resolution (org.json:json): 20230227

Direct dependency fix Resolution (com.docusign:docusign-esign-java): 3.19.0


Step up your Open Source Security Game with Mend here