CVE-2024-21534
Published: 11 October 2024
Summary
CVE-2024-21534 is a critical-severity Code Injection (CWE-94) vulnerability. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The jsonpath-plus package is affected by a remote code execution vulnerability in all versions stemming from improper input sanitization combined with unsafe default use of the Node vm module. The issue is tracked as CWE-94 and carries a CVSS 3.1 score of 9.8. Multiple attempts to address the flaw in the 10.0.0–10.1.0 range were shown to remain bypassable with alternate payloads.
An unauthenticated attacker can supply a malicious JSONPath expression over the network and achieve arbitrary code execution on the target system with no user interaction required. Successful exploitation grants full confidentiality, integrity, and availability impact.
Public references point to the project’s own comparison of attempted fixes between v9.0.0 and v10.1.0 as well as an open issue documenting remaining bypasses; Snyk has published corresponding advisory entries for both the JavaScript package and its webjar equivalent.
The associated EPSS score sits at 0.9271 with an identical recorded peak, indicating sustained high exploitation probability since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3103
Vulnerability details
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…
more
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).
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.