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.
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.
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
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
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.
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.
Direct dependency fix Resolution (org.springframework.boot:spring-boot-configuration-processor): 1.5.0.RELEASE
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
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.
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.
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: 012e83ee9b10e35eced839f51b8019c57f33234b
Vulnerabilities
Reachable
Reachable
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.jarJSON 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: 012e83ee9b10e35eced839f51b8019c57f33234b
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` com.box.l10n.mojito.service.leveraging.LeveragingService (Application) -> com.github.tomakehurst.wiremock.matching.RequestPattern$6 (Extension) -> com.github.tomakehurst.wiremock.matching.ValuePattern (Extension) -> org.skyscreamer.jsonassert.JSONCompareResult (Extension) -> ❌ org.json.JSONArray (Vulnerable Component) ``` ### Vulnerability DetailsAffected 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 AssessmentExploit 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 FixType: 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
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2023-5072
### Vulnerable Library - json-20140107.jarJSON 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: 012e83ee9b10e35eced839f51b8019c57f33234b
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 DetailsDenial 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 AssessmentExploit 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 FixType: 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
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2022-45688
### Vulnerable Library - json-20140107.jarJSON 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: 012e83ee9b10e35eced839f51b8019c57f33234b
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsA 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 AssessmentExploit 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 FixType: 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
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.