GHSA-j4mr-9xw3-c9jx Out-of-bounds Read in base64-url
An out-of-bounds read vulnerability in the base64-url library allows attackers to disclose sensitive memory contents by passing numeric inputs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-j4mr-9xw3-c9jx?
GHSA-j4mr-9xw3-c9jx is a vulnerability in base64-url, published on 31 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by GHSA-j4mr-9xw3-c9jx?
2 open source packages ship an affected version, including base64-url.
| Package | Affected | Fixed in |
|---|---|---|
base64-url npm | All versions | 2.0.0 |
base64-url npm | All versions | 2.0.0 |
How do I fix GHSA-j4mr-9xw3-c9jx?
Upgrade base64-url to 2.0.0 or later.
Is GHSA-j4mr-9xw3-c9jx being exploited?
There is no known exploitation of GHSA-j4mr-9xw3-c9jx in the wild and no public exploit code.