logo

GHSA-g3qw-9pgp-xpj4 njwt

Package

Manager: npm
Name: njwt
Vulnerable Version: >=0 <1.0.0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H/E:F/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Out-of-bounds Read in njwt Versions of `njwt` prior to 1.0.0 are vulnerable to out-of-bounds reads when a number is passed into the `base64urlEncode` function. On Node.js 6.x or lower this can expose sensitive information and on any other version of Node.js this creates a Denial of Service vulnerability. ## Recommendation Upgrade to version 1.0.0.

Metadata

Created: 2020-09-01T21:08:44Z
Modified: 2020-08-31T18:32:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g3qw-9pgp-xpj4/GHSA-g3qw-9pgp-xpj4.json
CWE IDs: ["CWE-125"]
Alternative ID: N/A
Finding: F111
Auto approve: 1