Remote command execution In expr-eval
Description
expr-eval does not restrict functions passed to the evaluate function The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted variables object into the evaluate() function and trigger arbitrary code execution.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
npm | - | ||
npm | 3.0.1 |
Aliases
1. 2. 3. 4.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.