CVE-2024-21534
JSON

9.8critical

JSONPath Plus Remote Code Execution (RCE) Vulnerability

Severity
9.8critical CVSS:3.1 by snyk
Exploit likelihood
9.02% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-pppg-cpfq-h7wr

Description

All versions of the package jsonpath-plus 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](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226).

Affected

Product or packageVersionsReported by
jsonpath-plusbefore *CVE List
org.webjars.npm:jsonpath-plusbefore *CVE List
jsonpath-plus jsonpathbefore 10.0.7CVE List
jsonpath-plus (npm)before 10.2.0GitHub Advisory Database
org.webjars.npm:jsonpath-plus (Maven)up to 6.0.1GitHub Advisory Database

All scores

snyk9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

All versions of the package jsonpath-plus 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](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226).

GitHub Advisory Database

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

NVD (es)

Las versiones del paquete jsonpath-plus anteriores a la 10.0.0 son vulnerables a la ejecución remota de código (RCE) debido a una desinfección de entrada incorrecta. Un atacante puede ejecutar código arbitrario en el sistema aprovechando el uso inseguro predeterminado de vm en Node. **Nota:** El comportamiento inseguro sigue estando disponible después de aplicar la corrección, pero no está activado de forma predeterminada.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21534 changed 2024-11-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-pppg-cpfq-h7wr changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21534 changed 2026-06-17Public domain