GHSA-rvg8-pwq2-xj7q

Suggest an improvement
Source
https://github.com/advisories/GHSA-rvg8-pwq2-xj7q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rvg8-pwq2-xj7q/GHSA-rvg8-pwq2-xj7q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rvg8-pwq2-xj7q
Downstream
Published
2020-09-01T20:42:44Z
Modified
2021-09-24T20:34:56Z
Summary
Out-of-bounds Read in base64url
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-125"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:31:38Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / base64url

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rvg8-pwq2-xj7q/GHSA-rvg8-pwq2-xj7q.json"