NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-21534: JSONPath Plus Remote Code Execution (RCE) Vulnerability

criticalCVSS 4.0 9.3 · 3.1 9.8GHSA-pppg-cpfq-h7wr

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

Published Oct 11, 2024 · Updated Feb 6, 2025

Affected packages

org.webjars.npm:jsonpath-plus

Ecosystem
Maven
Affected
<= 6.0.1
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.webjars.npm:jsonpath-plus

jsonpath-plus

Ecosystem
npm
Affected
< 10.2.0
Fixed in
10.2.0
Check
npm ls jsonpath-plus

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to jdong10, RisingZero.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology