jsonata is vulnerable to Regular Expression Denial of Service (ReDoS)
75
High Risk
The JSONata $toMillis function used an inefficient ISO 8601 validation regular expression. Before the fix, applications that evaluated user-provided JSONata expressions could spend excessive CPU processing crafted date strings, causing resource exhaustion and denial of service. Version 2.2.0 tightens the regex structure to avoid inefficient backtracking.
You are affected if you are using a version that falls within the vulnerable range.
jsonata is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.0.1 - 2.1.1.
Upgrade the jsonata library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant