GHSA-rvg8-pwq2-xj7q Out-of-bounds Read in base64url
An out-of-bounds read in the base64url library allows attackers to disclose sensitive memory contents when processing 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-rvg8-pwq2-xj7q?
GHSA-rvg8-pwq2-xj7q is a vulnerability in base64url, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Recommendation
Update to version 3.0.0 or later.
Which versions are affected by GHSA-rvg8-pwq2-xj7q?
2 open source packages ship an affected version, including base64url.
| Package | Affected | Fixed in |
|---|---|---|
base64url npm | All versions | 3.0.0 |
base64url npm | All versions | 3.0.0 |
How do I fix GHSA-rvg8-pwq2-xj7q?
Upgrade base64url to 3.0.0 or later.
Is GHSA-rvg8-pwq2-xj7q being exploited?
There is no known exploitation of GHSA-rvg8-pwq2-xj7q in the wild and no public exploit code.