Skip to content
OpenAdvisories
Low GHSA-g3qw-9pgp-xpj4

Out-of-bounds Read in njwt

Published Sep 1, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm njwt < 1.0.0 1.0.0 GHSA-g3qw-9pgp-xpj4

References