njwt@0.2.3 vulnerabilities

JWT Library for Node.js

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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