CVE-2024-27307

JSONata expression can pollute the "Object" prototype

Published Mar 6, 2024 CVSS 3.1 · 9.8 Critical EPSS 1.4% KEV · Not listed
Description
JSONata is a JSON query and transformation language. Starting in version 1.4.0 and prior to version 1.8.7 and 2.0.4, a malicious expression can use the transform operator to override properties on the `Object` constructor and prototype. This may lead to denial of service, remote code execution or other unexpected behavior in applications that evaluate user-provided JSONata expressions. This issue has been fixed in JSONata versions 1.8.7 and 2.0.4. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation. As a workaround, one may apply the patch manually.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0922 JSONata is a JSON query and transformation language. Starting in version 1.4.0 and prior to version 1.8.7 and 2.0.4, a malicious expression can use the transform operator to override properties on the `Object` constructor and prototype. This may lead to denial of service, remote code execution or other unexpected behavior in applications that evaluate user-provided JSONata expressions. This issue has been fixed in JSONata versions 1.8.7 and 2.0.4. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation. As a workaround, one may apply the patch manually.
Github GHSA Github GHSA GHSA-fqg8-vfv7-8fj8 JSONata expression can pollute the "Object" prototype
History
Type Values Removed Values Added
First Time appeared Jsonata
Jsonata jsonata
CPEs cpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:*
Vendors & Products Jsonata
Jsonata jsonata
Type Values Removed Values Added
Metrics epss

{'score': 0.01251}

epss

{'score': 0.01371}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 5:23 PM
Reserved
Feb 22, 2024, 6:08 PM
Status
Analyzed
Published
Mar 6, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:19 AM
Severity
Important
Public date
Mar 6, 2024, 12:00 AM