JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 0.4%
exploitation probability
0.4%top 69% of all CVEs
observed exploitation
nono source reports it
JSONata is a JSON query and transformation language. Prior to 2.2.0 and 1.8.9, malicious non-matching inputs to the $toMillis function can cause superlinear backtracking in the ISO-8601 validation regex, leading to denial of service in applications that evaluate user-provided JSONata expressions. This issue is fixed in version 2.2.0 and 1.8.9.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
jsonata-js · jsonataReferences
https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0bhttps://github.com/jsonata-js/jsonata/pull/782https://github.com/jsonata-js/jsonata/pull/793https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9