Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-27307 (Critical) detected in jsonata-1.6.5.tgz #87

Open
mend-bolt-for-github bot opened this issue Mar 14, 2024 · 0 comments
Open

CVE-2024-27307 (Critical) detected in jsonata-1.6.5.tgz #87

mend-bolt-for-github bot opened this issue Mar 14, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Mar 14, 2024

CVE-2024-27307 - Critical Severity Vulnerability

Vulnerable Library - jsonata-1.6.5.tgz

JSON query and transformation language

Library home page: https://registry.npmjs.org/jsonata/-/jsonata-1.6.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/jsonata/package.json

Dependency Hierarchy:

  • node-red-0.20.8.tgz (Root Library)
    • util-0.20.8.tgz
      • jsonata-1.6.5.tgz (Vulnerable Library)

Found in HEAD commit: f066b768ad80a1b199a84600ca9835323e9baee1

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2024-03-06

URL: CVE-2024-27307

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-fqg8-vfv7-8fj8

Release Date: 2024-03-06

Fix Resolution (jsonata): 2.0.4

Direct dependency fix Resolution (node-red): 3.1.7


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants