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
JSONata: Arbitrary Code Execution via crafted JSONata expressions
Vulnerability Description
JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.1, the src/jsonata.js environment.lookup function used a bypassable hasOwnProperty check. Crafted expressions could use $hasOwnProperty, $spread, $string, prototype access, and $constructor to reach the object prototype and invoke process.getBuiltinModule with child_process, executing arbitrary code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
jsonata-js JSONata 代码注入漏洞
Vulnerability Description
jsonata-js JSONata是jsonata-js组织的一款JSON查询与转换的表达式引擎。 jsonata-js JSONata 1.8.8之前版本和2.2.1之前版本存在代码注入漏洞,该漏洞源于src/jsonata.js的environment.lookup函数使用了可绕过的hasOwnProperty检查,可能导致精心构造的表达式利用原型链访问以主机进程权限执行任意代码。
CVSS Information
N/A
Vulnerability Type
N/A