CVE-2023-1370
Java vulnerability analysis and mitigation

Overview

CVE-2023-1370 is a vulnerability discovered in the json-smart package, a performance-focused JSON processor library. The vulnerability was disclosed on March 13, 2023, affecting json-smart versions prior to 2.4.9. The issue occurs when parsing JSON input containing array or object characters ('[' or '{'), where the code lacks limits on nesting depth (JFrog Research).

Technical details

The vulnerability stems from the recursive parsing of nested arrays and objects without implementing any depth limitations. When encountering '[' or '{' characters in the JSON input, the parser processes these structures recursively. Due to the unbounded nature of this recursion, processing deeply nested structures can trigger a stack overflow condition. The vulnerability has been assigned a CVSS score of 7.5 (HIGH), indicating its significant severity (NetApp Security).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition through stack exhaustion. The application processing the malformed JSON input will crash due to a StackOverflowError, potentially disrupting service availability (JFrog Research).

Mitigation and workarounds

The recommended mitigation is to upgrade to json-smart version 2.4.9 or later, which includes fixes for this vulnerability. No alternative workarounds have been provided by the vendor (JFrog Research).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management