org.webjars.npm:mime@1.3.6 vulnerabilities

  • latest version

    3.0.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

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

    org.webjars.npm:mime is a comprehensive, compact MIME type module.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). It uses regex the following regex /.*[\.\/\\]/ in its lookup, which can cause a slowdown of 2 seconds for 50k characters.

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

    Upgrade org.webjars.npm:mime to version 1.4.1, 2.0.3 or higher.

    [,1.4.1)[2.0.0,2.0.3)