CVE-2024-21534 json
JSONPath Plus Remote Code Execution (RCE) Vulnerability
published 2024-10-11 2 y ago modified 2026-09-10 1 mo ago also GHSA-pppg-cpfq-h7wr , EUVD-2024-3103
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.0%
- EPSS 9.0% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- npm jsonpath-plus 10.2.0
- jsonpath-plus jsonpath 10.0.7
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21534 updated cvss 9.8
jsonpath-plus: Remote Code Execution in jsonpath-plus via Improper Input Sanitization
-
Red Hat OpenShift AI (RHOAI) odh-dashboard-container Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix available “Red Hat Product Security recommends updating the vulnerable software to the latest version.”
-
Red Hat Developer Hub 1.6 rhdh 1.6.0-1745956724fixed: vendor fix “Red Hat Product Security recommends updating the vulnerable software to the latest version.” RHSA-2025:7626
-
Red Hat OpenShift Dev Spaces 3 devspaces/code-rhel8 3.17-19, devspaces/dashboard-rhel8 3.17-25fixed: vendor fix “Red Hat Product Security recommends updating the vulnerable software to the latest version.” RHSA-2024:10236
-
Red Hat Developer Hub 1 rhdh/rhdh-rhel9-operator Red Hat Developer Hub 1.6 rhdh 1.6.0-1745956395, rhdh 1.6.0-1745970106 Red Hat OpenShift AI (RHOAI) odh-operator-container Red Hat OpenShift Data Science (RHODS) rhods/odh-rhel8-operator Red Hat OpenShift Dev Spaces 3 devspaces/udi-rhel8 3.17-9, devspaces/idea-rhel8 3.17-4, devspaces/server-rhel8 3.17-9, devspaces/traefik-rhel8 3.17-4, devspaces/configbump-rhel8 3.17-4, devspaces/imagepuller-rhel8 3.17-4, +4 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
9.02% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsonpath-plus | <10.2.0 |
10.2.0 |
| maven | org.webjars.npm:jsonpath-plus | <=6.0.1 |
no fix listed |
Affected products
- n/a jsonpath-plus
- n/a org.webjars.npm:jsonpath-plus
- jsonpath-plus jsonpath
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/JSONPath-Plus/JSONPath/pull/233
web
-
github.com
/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e2d7339d4ccd3
web
-
github.com
/JSONPath-Plus/JSONPath/commit/73ad72e5ee788d8287dea6e8283a3f16f63c9eb8
web
-
github.com
/JSONPath-Plus/JSONPath/commit/b70aa713553caf838a63bac923195a5bc541fd72
web
-
security.snyk.io
/vuln/SNYK-JS-JSONPATHPLUS-7945884
web
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019
web
-
github.com
/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0
web
-
github.com
/JSONPath-Plus/JSONPath/issues/226
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21534
advisory
-
github.com
/JSONPath-Plus/JSONPath/issues/226#issuecomment-2424230316
web
-
github.com
/JSONPath-Plus/JSONPath
package
Sources
- CVE List CVE-2024-21534
- GitHub Advisory GHSA-pppg-cpfq-h7wr
- NVD CVE-2024-21534
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.