# GHSA-j4mr-9xw3-c9jx: Out-of-bounds Read in base64-url

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-05-31T23:47:01.000Z
- Modified: 2020-08-31T18:31:43.000Z
- Weaknesses: CWE-125

## Description

Versions of `base64-url` before 2.0.0 are vulnerable to out-of-bounds read as it allocates uninitialized Buffers when number is passed in input.


## Recommendation

Update to version 2.0.0 or later.

(As written by GitHub Advisory Database.)

## Affected

- base64-url (npm): before 2.0.0

## References

- <https://hackerone.com/reports/321692> (web)
- <https://www.npmjs.com/advisories/660> (web)

## Sources

- GitHub Advisory Database: [GHSA-j4mr-9xw3-c9jx](https://github.com/advisories/GHSA-j4mr-9xw3-c9jx), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-j4mr-9xw3-c9jx · Whole record: https://cve.day/GHSA-j4mr-9xw3-c9jx.json · Rebuilt by cve.day 2026-11-25T22:56:45.710Z
