advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWczcXctOXBncC14cGo0

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.

Permalink: https://github.com/advisories/GHSA-g3qw-9pgp-xpj4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWczcXctOXBncC14cGo0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: over 4 years ago
Updated: about 2 years ago


Identifiers: GHSA-g3qw-9pgp-xpj4
References: Blast Radius: 0.0

Affected Packages

npm:njwt
Dependent packages: 88
Dependent repositories: 1,192
Downloads: 1,331,068 last month
Affected Version Ranges: < 1.0.0
Fixed in: 1.0.0
All affected versions: 0.0.0, 0.0.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1
All unaffected versions: 1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.0.1