GHSA-g3qw-9pgp-xpj4
JSON

low

Out-of-bounds Read in njwt

Severity
low rating by GitHub
Published
Last changed

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

Product or packageVersionsReported by
njwt (npm)before 1.0.0GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-g3qw-9pgp-xpj4 changed 2020-08-31CC-BY-4.0