This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login.
Read the full analysis โ
Q1What is this vulnerability? (Essence + Consequences)
๐จ **Essence**: JSONata (v1.4.0 - 2.0.4) has a critical flaw. Malicious expressions can overwrite object constructors & prototypes.โฆ
๐ฆ **Affected**: `jsonata-js` / `jsonata` library. ๐ **Versions**: 1.4.0 up to (but not including) 2.0.4. โ ๏ธ **Scope**: Any app using these versions for JSON querying/transformation.
Q4What can hackers do? (Privileges/Data)
๐ **Privileges**: Full Remote Code Execution (RCE). ๐ **Data**: Complete system compromise. ๐ซ **DoS**: Can crash the application. ๐ **Network**: Exploitable over the network (AV:N).
Q5Is exploitation threshold high? (Auth/Config)
๐ **Threshold**: LOW. ๐ซ **Auth**: None required (PR:N). ๐๏ธ **UI**: No user interaction needed (UI:N). ๐ฏ **Complexity**: Low (AC:L). Easy to exploit remotely.
Q6Is there a public Exp? (PoC/Wild Exploitation)
๐ต๏ธ **Public Exploit**: No specific PoC code provided in data. ๐ **Status**: Confirmed vulnerability (GHSA advisory). ๐ฉ **Risk**: High potential for wild exploitation due to low barrier to entry.
Q7How to self-check? (Features/Scanning)
๐ **Check**: Scan for `jsonata` dependency version. ๐ **Tool**: Use SAST/DAST tools detecting prototype pollution. ๐ **Code**: Look for untrusted JSONata expressions passed to `jsonata()` function.
Q8Is it fixed officially? (Patch/Mitigation)
โ **Fixed**: Yes. ๐ฆ **Patch**: Upgrade to **v2.0.4** or later. ๐ **Source**: GitHub Release v2.0.4 & Security Advisory GHSA-fqg8-vfv7-8fj8.
Q9What if no patch? (Workaround)
๐ **Workaround**: If unpatchable, **disable** JSONata processing for untrusted input. ๐ซ **Sanitize**: Strictly validate/whitelist all expression inputs. ๐งฑ **Isolate**: Run in sandboxed environment if possible.
Q10Is it urgent? (Priority Suggestion)
๐ฅ **Urgency**: CRITICAL. ๐จ **Priority**: P1. ๐ **Action**: Patch immediately. CVSS 9.8 + Remote + No Auth = Immediate threat. ๐ข **Alert**: Notify dev teams NOW.