NetSight
critical9.8

CVE-2024-21534

JSONPath Plus Remote Code Execution (RCE) Vulnerability

Impact

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](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 packages

EcosystemPackageAffectedFixed in
mavenorg.webjars.npm:jsonpath-plus<= 6.0.1none recorded
npmjsonpath-plus< 10.2.010.2.0

Weakness classification

References