uri-template-lite@0.1.3 vulnerabilities

URI Template [RFC 6570] expansion and extraction

  • latest version

    23.4.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    uri-template-lite is an URI Template RFC 6570 expansion and extraction.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when an attacker is able to supply arbitrary input to the URI.expand method in the index.js function via the vulnerable regex \{([#&+.\/;?]?)((?:[-\w%.]+(\*|:\d+)?,?)+)\}

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

    Upgrade uri-template-lite to version 22.9.0 or higher.

    <22.9.0