CVE-2024-21534
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).
How to fix
- jsonpath-plus10.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jsonpath-plusnpm | v < 10.2.0 | 10.2.0 |
| org.webjars.npm:jsonpath-plusMaven | v ≤ 6.0.1 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.