org.webjars.npm:path-to-regexp@1.9.0 vulnerabilities

  • latest version

    8.2.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    19 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:path-to-regexp 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) when including multiple regular expression parameters in a single segment, when the separator is not . (e.g. no /:a-:b). Poor performance will block the event loop and can lead to a DoS.

    Note:

    This issue is caused due to an incomplete fix for CVE-2024-45296.

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

    Upgrade org.webjars.npm:path-to-regexp to version 8.2.0 or higher.

    [,8.2.0)