漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion
Vulnerability Description
cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). A patch containing add and copy operations grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of service.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
未经控制的递归
Vulnerability Title
davegamble cjson 资源管理错误漏洞
Vulnerability Description
davegamble cJSON是davegamble个人开发者开源的一款轻量级的开源JSON解析器。 davegamble cjson 1.7.19及之前版本存在资源管理错误漏洞,该漏洞源于应用不受信任的RFC 6902 JSON Patch时,包含add和copy操作的补丁导致无限递归,触发栈耗尽,攻击者可利用此漏洞造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A