{"id":"GHSA-rvg8-pwq2-xj7q","aliases":["GHSA-rvg8-pwq2-xj7q"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds Read in base64url","summary":"Versions of `base64url` before 3.0.0 are vulnerable to to out-of-bounds reads as it allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below.\n\n\n## Recommendation\n\nUpdate to version 3.0.0 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `base64url` before 3.0.0 are vulnerable to to out-of-bounds reads as it allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below.\n\n\n## Recommendation\n\nUpdate to version 3.0.0 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T20:42:44.000Z","modified":"2021-09-24T20:34:56.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"npm","package":"base64url","purl":"pkg:npm/base64url","source":"ghsa"}],"references":[{"url":"https://github.com/brianloveswords/base64url/pull/25","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/brianloveswords/base64url/commit/4fbd954a0a69e9d898de2146557cc6e893e79542","tags":["web"],"sources":["ghsa"]},{"url":"https://hackerone.com/reports/321687","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/brianloveswords/base64url","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rvg8-pwq2-xj7q","url":"https://github.com/advisories/GHSA-rvg8-pwq2-xj7q","licence":"CC-BY-4.0","modified":"2021-09-24T20:34:56.000Z"}],"updatedAt":"2026-11-25T22:56:46.521Z"}