njwt@0.2.0 vulnerabilities

JWT Library for Node.js

  • latest version

    2.0.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    6 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the njwt 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
    • H
    Prototype Pollution

    njwt is a JWT Library for Node.js

    Affected versions of this package are vulnerable to Prototype Pollution in the parse method. An attacker can manipulate the prototype chain by injecting malicious properties.

    How to fix Prototype Pollution?

    Upgrade njwt to version 2.0.1 or higher.

    <2.0.1
    • M
    Uninititialized Memory Exposure

    njwt is the cleanest JSON Web Token (JWT) library for Node.js developers..

    Affected versions of this package are vulnerable to Uninitialized Memory Exposure. A malicious user could extract sensitive data from uninitialized memory or to cause a DoS by passing in a large number, in setups where typed user input can be passed.

    Note Uninitialized Memory Exposure impacts only Node.js 6.x or lower, Denial of Service impacts any Node.js version.

    How to fix Uninititialized Memory Exposure?

    There is no fix version for njwt.

    <1.0.0