word-wrap@0.3.1 vulnerabilities

Wrap words to a specified length.

  • latest version

    1.2.5

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

    Note:

    The regex is vulnerable on its own, but the vulnerable function is not reachable as shipped in the package.

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

    Upgrade word-wrap to version 1.2.4 or higher.

    <1.2.4