Description (CNA)
json-smart through 2.6.0 contains an input validation bypass vulnerability that allows attackers to evade strict-mode trailing-data checks by inserting a literal 0x1A character. Attackers can append 0x1A and malformed content to pass JSONValue.parseStrict or isValidJsonStrict validation, creating parser differentials with downstream parsers like Jackson or Gson.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| json-smart / json-smart | affected 0 through 2.6.0 |
CWE
CWE-147
References
- https://github.com/netplex/json-smart-v2/issues/302
- https://github.com/netplex/json-smart-v2/blob/v2.6.0/json-smart/src/main/java/net/minidev/json/parser/JSONParserBase.java
- https://www.vulncheck.com/advisories/json-smart-through-2.6.0-strict-mode-validation-bypass-via-0x1a-character
ADP enrichment
No English description supplied.