GHSA-86mr-6m89-vgj3

Suggest an improvement
Source
https://github.com/advisories/GHSA-86mr-6m89-vgj3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-86mr-6m89-vgj3/GHSA-86mr-6m89-vgj3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-86mr-6m89-vgj3
Published
2020-09-03T15:51:38Z
Modified
2021-10-04T21:10:07Z
Summary
Buffer Overflow in node-weakauras-parser
Details

Affected versions of node-weakauras-parser are vulnerable to a Buffer Overflow. The encode_weakaura function fails to properly validate the input size. A buffer of 13835058055282163711 bytes causes an overflow on 64-bit systems.

Recommendation

Upgrade to versions 1.0.5, 2.0.2, 3.0.1 or later.

Database specific
{
    "cwe_ids": [
        "CWE-120"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T19:01:42Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / node-weakauras-parser

Package

Name
node-weakauras-parser
View open source insights on deps.dev
Purl
pkg:npm/node-weakauras-parser

Affected ranges

Type
SEMVER
Events
Introduced
1.0.4
Fixed
1.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-86mr-6m89-vgj3/GHSA-86mr-6m89-vgj3.json"

npm / node-weakauras-parser

Package

Name
node-weakauras-parser
View open source insights on deps.dev
Purl
pkg:npm/node-weakauras-parser

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-86mr-6m89-vgj3/GHSA-86mr-6m89-vgj3.json"

npm / node-weakauras-parser

Package

Name
node-weakauras-parser
View open source insights on deps.dev
Purl
pkg:npm/node-weakauras-parser

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-86mr-6m89-vgj3/GHSA-86mr-6m89-vgj3.json"