Vulnerabilities in pkg:npm/node-weakauras-parser
PACKAGEGHSA-86mr-6m89-vgj3 is a MODERATE buffer overflow vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Node weakauras parser libraries in the npm ecosystem. The issue involves buffer overflow in node-weakauras-parser. Remediation is available by upgrading affected packages to version 1.0.5, 2.0.2, 3.0.1.
pkg:npm/node-weakauras-parser
Vulnerability advisories affecting package pkg:npm/node-weakauras-parser. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-86mr-6m89-vgj3 | - | MODERATE | Buffer Overflow in node-weakauras-parser |
GHSA-86mr-6m89-vgj3 at a Glance
How to Fix GHSA-86mr-6m89-vgj3
To remediate this vulnerability, upgrade all affected Node weakauras parser dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-weakauras-parser@1.0.5
npm install node-weakauras-parser@2.0.2
npm install node-weakauras-parser@3.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-weakauras-parser
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-86mr-6m89-vgj3, inspect your project dependencies using npm:
npm ls node-weakauras-parser
Analyze the terminal output to locate any version of Node weakauras parser in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.5), your application is affected.
Note: The npm ls node-weakauras-parser command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Node weakauras parser, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-86mr-6m89-vgj3 Affected Node weakauras parser Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-weakauras-parser
|
npm |
≥ 1.0.4
< 1.0.5
|
1.0.5
|
|
node-weakauras-parser
|
npm |
≥ 2.0.0
< 2.0.2
|
2.0.2
|
|
node-weakauras-parser
|
npm |
≥ 3.0.0
< 3.0.1
|
3.0.1
|
References
Frequently Asked Questions
What is GHSA-86mr-6m89-vgj3?
Which Node weakauras parser versions are affected?
What version fixes GHSA-86mr-6m89-vgj3?
Is node-weakauras-parser affected?
What CWE is associated with GHSA-86mr-6m89-vgj3?
How can I check npm dependencies for GHSA-86mr-6m89-vgj3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-86mr-6m89-vgj3",
"modified" : "2021-10-04T21:10:07Z",
"published" : "2020-09-03T15:51:38Z",
"aliases" : [ ],
"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.\n\n\n## Recommendation\n\nUpgrade to versions 1.0.5, 2.0.2, 3.0.1 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-weakauras-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.4"
}, {
"fixed" : "1.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "node-weakauras-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "node-weakauras-parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Zireael-N/node-weakauras-parser/commit/bc146da09db689e554d28e948f1cf1c138f09f69#diff-023afe6291ac9ada88788108cb3367b3R38-R43"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Zireael-N/node-weakauras-parser"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1504"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T19:01:42Z",
"nvd_published_at" : null
}
}