Security mailing lists by PureSourceCode

GHSA-g3qw-9pgp-xpj4

LOW

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.

Published
1 Sep 2020
Last modified
31 Aug 2020
Weakness
CWE-125
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm njwt < 1.0.0 1.0.0

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.