node-rules@3.0.0 vulnerabilities

Business Rules Engine for JavaScript

Direct Vulnerabilities

Known vulnerabilities in the node-rules package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary Code Execution

node-rules is a light weight forward chaining Rule Engine, written in JavaScript.

Affected versions of this package are vulnerable to Arbitrary Code Execution. The injection point is located in line 152,153. The argument rules of function fromJSON() can be controlled by users without any sanitization.

How to fix Arbitrary Code Execution?

Upgrade node-rules to version 5.0.0 or higher.

>=3.0.0 <5.0.0