CyberRota Analysis
AI-GeneratedThe vulnerability in JSONata allows attackers to exploit the lookup function in versions prior to 1.8.8 and 2.2.0, enabling them to access inherited prototype members and execute arbitrary code via the child_process module. This critical flaw poses a significant risk to any application utilizing affected versions of JSONata, as it could lead to unauthorized code execution with the privileges of the host process. Organizations using JSONata should prioritize upgrading to the patched versions to mitigate this severe security risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.0, the src/functions.js lookup function lacked an Object.prototype.hasOwnProperty check and allowed crafted expressions to access inherited prototype members. An attacker able to supply an expression could use inherited prototype setters and getters, constructor access, valueOf, and process.getBuiltinModule to reach the child_process module and execute arbitrary code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.0.