{"id":"GHSA-g3qw-9pgp-xpj4","aliases":["GHSA-g3qw-9pgp-xpj4"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds Read in njwt","summary":"Versions of `njwt` prior to 1.0.0 are vulnerable to out-of-bounds reads when a number is passed into the `base64urlEncode` function. \n\nOn 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.\n\n\n## Recommendation\n\nUpgrade to version 1.0.0.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `njwt` prior to 1.0.0 are vulnerable to out-of-bounds reads when a number is passed into the `base64urlEncode` function. \n\nOn 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.\n\n\n## Recommendation\n\nUpgrade to version 1.0.0.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T21:08:44.000Z","modified":"2020-08-31T18:32:28.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0"}],"ecosystem":"npm","package":"njwt","purl":"pkg:npm/njwt","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/321704","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/679","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g3qw-9pgp-xpj4","url":"https://github.com/advisories/GHSA-g3qw-9pgp-xpj4","licence":"CC-BY-4.0","modified":"2020-08-31T18:32:28.000Z"}],"updatedAt":"2026-11-25T22:56:45.350Z"}