
Proof-of-concept exploit for CVE-2024-21534, a critical RCE in jsonpath-plus, demonstrating arbitrary code execution via the VM module and providing mitigation steps.
Vulnerability: CVE-2024-21534
Severity: Critical (CVSS Score: 9.8)
Description:
The jsonpath-plus package (versions <= 10.0.7) is vulnerable to a Remote Code Execution (RCE) vulnerability that allows attackers to execute arbitrary code via Node.js's VM module. This vulnerability is caused by insufficient input validation and affects versions 10.0.7 and below.
Impact:
Successful exploitation of this vulnerability could lead to complete compromise of the affected system.
Mitigation:
jsonpath-plus: Update to version 10.0.8 or later.References:
Note:
This vulnerability was discovered and reported by Andrea Angelo Raineri.