org.webjars.npm:uglify-js@2.4.24 vulnerabilities

  • latest version

    3.19.3

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    3 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:uglify-js 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
    • M
    Regular Expression Denial of Service (ReDoS)

    org.webjars.npm:uglify-js is a JavaScript parser, minifier, compressor and beautifier toolkit.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the string_template and the decode_template functions.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.webjars.npm:uglify-js to version 3.16.3 or higher.

    [,3.16.3)
    • M
    Regular Expression Denial of Service (ReDoS)

    The parse() function in the uglify-js package prior to version 2.6.0 is vulnerable to regular expression denial of service (ReDoS) attacks when long inputs of certain patterns are processed.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade to version 2.6.0 or greater. If a direct dependency update is not possible, use snyk wizard to patch this vulnerability.

    [,2.6.0)