org.webjars.npm:nanoid@3.1.30 vulnerabilities

  • latest version

    5.0.9

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    8 days ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm: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 org.webjars.npm:nanoid to version 3.3.8, 5.0.9 or higher.

    [,3.3.8)[4.0.0,5.0.9)
    • M
    Information Exposure

    Affected versions of this package are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

    How to fix Information Exposure?

    Upgrade org.webjars.npm:nanoid to version 3.2.0 or higher.

    [3.1.12,3.2.0)