json-logic-js@2.0.1

Build complex rules, serialize them as JSON, and execute them in JavaScript

  • latest version

    2.0.5

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the json-logic-js package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary Command Injection

    json-logic-js is a Build complex rules, serialize them as JSON, and execute them in JavaScript

    Affected versions of this package are vulnerable to Arbitrary Command Injection due to improper input sanitization, which allows the exploitation of the vulnerability via the logic.js functionality.

    How to fix Arbitrary Command Injection?

    Upgrade json-logic-js to version 2.0.2 or higher.

    >=2.0.0 <2.0.2