org.webjars.npm:content-type-parser@1.0.1 vulnerabilities

  • latest version

    1.0.2

  • first published

    8 years ago

  • latest version published

    6 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:content-type-parser 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)

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). It used a regular expression (/^(.*?)\/(.*?)([\t ]*;.*)?$/) in order to parse user agents. This can cause a very moderate impact of about 4 seconds matching time for data 30k characters long.

    Note: content-type-parser has been replaced by the whatwg-mimetype package and the fix for this vulnerability can be found within whatwg-mimetype.

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

    There is no fixed version for org.webjars.npm:content-type-parser.

    [0,)