test-samples
test-samples copied to clipboard
WS-2017-3805 (High) detected in json-20151123.jar
WS-2017-3805 - High Severity Vulnerability
Vulnerable Library - json-20151123.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.</p>
Library home page: https://github.com/douglascrockford/JSON-java
Path to dependency file: /samples/testing-frameworks/appium/server-side/image-recognition/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/json/json/20151123/json-20151123.jar
Dependency Hierarchy:
- mobile-opencv-image-recognition-library-0.3.jar (Root Library)
- :x: json-20151123.jar (Vulnerable Library)
Found in HEAD commit: 30c48e906cbf39e9fe11063135024fd3e98535f3
Found in base branch: master
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
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
Suggested Fix
Type: Upgrade version
Release Date: 2017-10-30
Fix Resolution: org.json:json:20180130