CRITICAL 9.8 npm

JSONPath Plus Remote Code Execution (RCE) Vulnerability

GHSA-pppg-cpfq-h7wr · CVE-2024-21534

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Versions of the package jsonpath-plus before 10.0.7 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

Ready to move

Start Securing

Free, no credit card | First findings in minutes