nanoid@3.2.0 vulnerabilities

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

  • latest version

    5.1.6

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    25 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nanoid package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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