-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Exception in Parser #7
Comments
This was referenced Feb 23, 2021
Note that this is tied to CVE-2021-27568, categorized as base score 9.1 (critical). |
New version released 1.3.2 with CVE-2021-27568 fixed |
This was referenced Apr 7, 2021
This was referenced Apr 7, 2021
CVE-2021-27568 (Medium) detected in json-smart-2.2.1.jar - autoclosed
liorzilberg/swagger-parser#536
Closed
This was referenced Apr 7, 2021
Closed
This was referenced Apr 7, 2021
Closed
Closed
This was referenced Dec 7, 2021
1 task
This was referenced Mar 31, 2022
This was referenced Apr 13, 2022
This was referenced Jun 2, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The parser fails to throw the ParseException when the parser expects the input to be of the float number type AND the input not being a valid number. This can lead to uncaught exceptions by unexpected input, which may lead to Denial-of-Service (DoS).
json-smart-v1/json-smart/src/main/java/net/minidev/json/parser/JSONParserBase.java
Lines 134 to 142 in 51e1641
Parser Input of "-." or "2e+" or "[45e-" will crash with a NumberFormatException.
The text was updated successfully, but these errors were encountered: