{"id":"GHSA-g3qw-9pgp-xpj4","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. \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.","modified":"2020-08-31T18:32:28Z","published":"2020-09-01T21:08:44Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:32:28Z","nvd_published_at":null,"cwe_ids":["CWE-125"]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/321704"},{"type":"WEB","url":"https://www.npmjs.com/advisories/679"}],"affected":[{"package":{"name":"njwt","ecosystem":"npm","purl":"pkg:npm/njwt"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g3qw-9pgp-xpj4/GHSA-g3qw-9pgp-xpj4.json"}}],"schema_version":"1.9.0"}