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.
Path to dependency file: /tests/test-sessions/test-gcloud-sessions/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20160810/json-20160810.jar,/home/wss-scanner/.m2/repository/org/json/json/20160810/json-20160810.jar
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.
CVE-2023-5072 - High Severity Vulnerability
Vulnerable Library - json-20160810.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.
Library home page: https://github.com/douglascrockford/JSON-java
Path to dependency file: /tests/test-sessions/test-gcloud-sessions/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20160810/json-20160810.jar,/home/wss-scanner/.m2/repository/org/json/json/20160810/json-20160810.jar
Dependency Hierarchy: - google-cloud-datastore-1.0.0.jar (Root Library) - google-cloud-core-1.0.0.jar - :x: **json-20160810.jar** (Vulnerable Library)
Found in HEAD commit: d21e42ca49dd7dfc49c40dd5e12fe263140afbdb
Found in base branch: master
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
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-rm7j-f5g5-27vv
Release Date: 2023-10-12
Fix Resolution (org.json:json): 20231013
Direct dependency fix Resolution (com.google.cloud:google-cloud-datastore): 1.13.0
Step up your Open Source Security Game with Mend here