CVE-2024-21534 JSONPath Plus Remote Code Execution (RCE) Vulnerability
CriticalCVSS 9.8
EPSS 9.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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 but it could still be exploited using different payloads.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| jsonpath-plus jsonpath | < 10.0.7 | 10.0.7 | Fixed |
| npm jsonpath-plus(npm) | < 10.2.0 | 10.2.0 | Fixed |
| org.webjars.npm/jsonpath-plus(Maven) | <= 6.0.1; = 3.0.0; = 4.0.0; = 6.0.1 | after 6.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm jsonpath-plus(npm) | < 10.2.0 | 10.2.0 |
| org.webjars.npm/jsonpath-plus(Maven) | <= 6.0.1 | No fix listed |
| org.webjars.npm/jsonpath-plus(Maven) | = 3.0.0 | No fix listed |
| org.webjars.npm/jsonpath-plus(Maven) | = 4.0.0 | No fix listed |
| org.webjars.npm/jsonpath-plus(Maven) | = 6.0.1 | No fix listed |
| jsonpath-plus jsonpath | < 10.0.7 | 10.0.7 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- github.com
- security.snyk.io
- security.snyk.io
- github.com