CVE-2026-77413
Beschrijving NL
JSONata is een JSON-query- en transformatietaal. Voorafgaand aan 1.8.8 en 2.2.0 miste de src/functions.js lookup-functie een Object.prototype.hasOwnProperty-controle en stonden ze bewerkte expressies toe om toegang te krijgen tot geërfde prototype-leden. Een aanvaller die een expressie kan leveren, kan geërfde prototypesetters en -getters, constructortoegang, valueOf en process.getBuiltinModule gebruiken om de child_process-module te bereiken en willekeurige code uit te voeren met de privileges van het hostproces. Dit probleem is opgelost in versie 1.8.8 en 2.2.0.
Origineel (Engels) tonen
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.