CVE-2024-21534: Code Injection
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](
Other sources
Versions of the package jsonpath-plus before 10.0.0 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:
The unsafe behavior is still available after applying the fix but it is not turned on by default.
— Red Hat
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
— GitHub
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21534?
CVE-2024-21534 is considered a high severity vulnerability due to its potential for Remote Code Execution.
How do I fix CVE-2024-21534?
To fix CVE-2024-21534, update the jsonpath-plus package to version 10.0.7 or later.
Which versions of jsonpath-plus are affected by CVE-2024-21534?
All versions of jsonpath-plus up to and including 6.0.1 are affected by CVE-2024-21534.
Can CVE-2024-21534 be exploited remotely?
Yes, CVE-2024-21534 can be exploited remotely due to improper input sanitization.
What type of vulnerability is CVE-2024-21534?
CVE-2024-21534 is a Remote Code Execution vulnerability.