eslint-utils@1.3.0 vulnerabilities

Utilities for ESLint plugins.

  • latest version

    3.0.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the eslint-utils 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

    eslint-utils is a package provides utility functions and classes for make ESLint custom rules.

    Affected versions of this package are vulnerable to Arbitrary Code Execution. The getStaticValue does not properly sanitize user input allowing attackers to supply malicious input that executes arbitrary code during the linting process. The getStringIfConstant and getPropertyName functions are not affected.

    How to fix Arbitrary Code Execution?

    Upgrade eslint-utils to version 1.4.1 or higher.

    >=1.2.0 <1.4.1