Advisory

GHSA-g3qw-9pgp-xpj4

Also known as: None

Summary

Out-of-bounds Read in njwt

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-09-01 21:08 UTC
Modified
2020-08-31 18:32 UTC

Affected packages and fixes

njwt

npm · All systems

Affected

  • introduced 0, fixed 1.0.0 (semver)

Fixed versions

1.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences