Vulnerabilities/

Command Injection in node-rules

Severity:
High

Description

Versions of node-rules prior to 5.0.0 are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an eval call when using the fromJSON function. This may allow attackers to execute arbitrary code in the system if the rules are user-controlled.

Recommendation

Update the node-rules package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
node-rules
Anything's wrong? Let us know Last updated on October 06, 2023

This issue is available in SmartScanner Professional

See Pricing