nanoid@1.0.5 vulnerabilities

A tiny (118 bytes), secure URL-friendly unique string ID generator

  • latest version

    5.0.9

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nanoid 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
    Improper Input Validation

    Affected versions of this package are vulnerable to Improper Input Validation due to the mishandling of fractional values in the nanoid function. By exploiting this vulnerability, an attacker can achieve an infinite loop.

    How to fix Improper Input Validation?

    Upgrade nanoid to version 3.3.8, 5.0.9 or higher.

    <3.3.8>=4.0.0 <5.0.9