漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
cJSON cJSON_Compare Exponential Complexity Denial of Service
Vulnerability Description
cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.
CVSS Information
CVSS:3.1/AV:N/AC:H/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及之前版本存在资源管理错误漏洞,该漏洞源于cJSON_Compare()函数存在低效的算法复杂度缺陷,递归比较嵌套深度大的对象时CPU消耗过高,造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A