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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | jsonpath-plus | — | — |
| — | org.webjars.npm:jsonpath-plus | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.9.2-r4 | — |
| Wolfi rolling | kubeflow-pipelines-frontend | 2.15.0-r1 | — |
| Wolfi rolling | prism | 5.11.2-r1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
verylazytech/cve-2024-21534 ★ 4 · Nov 28, 2024
POC - CVE-2024-21534 Jsonpath-plus vulnerable to Remote Code Execution (RCE) due to improper input sanitization
-
BohemianHacks/CVE-2024-21534-poc ★ 1 · Nov 23, 2024
-
pabloopez/CVE-2024-21534 ★ 1 · Nov 13, 2024
Proof-of-concept (PoC) exploit for JSONPath-plus vulnerability
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.webjars.npm:jsonpath-plus | <= 6.0.1 | — | GHSA-pppg-cpfq-h7wr |
| npm | jsonpath-plus | < 10.2.0 | 10.2.0 | GHSA-pppg-cpfq-h7wr |
Advisories 2
- WID-SEC-2024-3542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2026
- WID-SEC-2024-3627 IBM App Connect Enterprise: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · May 8, 2025