Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
jq: stack overflow in deep structural equality
Vulnerability Description
jq is a command-line JSON processor. Prior to 1.8.2, comparing two sufficiently deeply nested arrays with the == operator exhausts the C stack on jq's ordinary command-line surface, resulting in denial of service via stack exhaustion (uncontrolled recursion). The crash occurs in jq's recursive structural comparison code, with the recursion repeating through jvp_array_equal() and jv_equal() in src/jv.c when comparing deeply nested arrays; a nearby sort comparator path through jv_cmp() in src/jv_aux.c overflows the stack at a larger nesting depth from the same missing recursion guard. Anyone running jq comparisons on attacker-controlled deeply nested JSON values, or embedding jq in a context where untrusted data can reach the == comparison path, is affected. This vulnerability is fixed in 1.8.2.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
未经控制的递归
Vulnerability Title
jqlang jq 资源管理错误漏洞
Vulnerability Description
jqlang jq是jqlang团队开源的一个轻量级且灵活的命令行 JSON 处理器。 jqlang jq 1.8.2之前版本存在资源管理错误漏洞,该漏洞源于使用==运算符比较深度嵌套数组时缺乏递归保护,导致C栈耗尽,容易受到拒绝服务攻击。
CVSS Information
N/A
Vulnerability Type
N/A