uglify-js@0.0.4 vulnerabilities

JavaScript parser, mangler/compressor and beautifier toolkit

  • latest version

    3.19.3

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    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 uglify-js to version 3.14.3 or higher.

    <3.14.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