Intel

AIKIDO-2024-10091

jsonata is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 9, 2024

81

High Risk

This Affects:

JSjsonata
1.0.9 - 2.0.4
Fixed in 2.0.5
Are you affected? Scan for Free

TL;DR

Affected versions of the jsonata package are vulnerable to exposure of sensitive information to an unauthorized actor. Currently, lambdas can be used to grab references to JSONata internals. For example: $leak_env_refs := function() {1}; $leak_env_refs.environment.bind('whatever_you_want', false); This allows unauthorized access to internal data, posing a potential security risk.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jsonata is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 1.0.9 - 2.0.4.

How to fix this

Upgrade the jsonata library to the patch version.