Advisory

GHSA-pppg-cpfq-h7wr

Also known as: CVE-2024-21534

Summary

JSONPath Plus Remote Code Execution (RCE) Vulnerability

Details

Versions of the package jsonpath-plus before 10.0.7 are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of vm in Node.

Note:

There were several attempts to fix it in versions 10.0.0-10.1.0 but it could still be exploited using different payloads

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-10-11 15:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

jsonpath-plus

npm · All systems

Affected

  • introduced 0, fixed 10.2.0 (semver)

Fixed versions

10.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences