Description
[Json-smart](https://netplex.github.io/json-smart/) is a performance focused, JSON processor lib. When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.
Remediation
References
https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/
https://security.netapp.com/advisory/ntap-20240621-0006/
Related Vulnerabilities
CVE-2021-25933 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2020-28278 Vulnerability in npm package shvl
CVE-2020-29204 Vulnerability in maven package com.xuxueli:xxl-job-admin
CVE-2017-1000427 Vulnerability in maven package org.webjars.bower:marked
CVE-2023-40341 Vulnerability in maven package io.jenkins.blueocean:blueocean