node-rules@4.0.2 vulnerabilities

Business Rules Engine for JavaScript

  • latest version

    9.1.1

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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