GHSA-rvg8-pwq2-xj7q Out-of-bounds Read in base64url

Not scored Published

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.

PackageAffectedFixed in
base64url npmAll versions3.0.0
base64url npmAll versions3.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.

Sources

Is GHSA-rvg8-pwq2-xj7q in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free