Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

Buffer Overflow in node-weakauras-parserGHSA-86mr-6m89-vgj3

Fix: Zireael-N/node-weakauras-parser@bc146da

GHSA-86mr-6m89-vgj3 is a remote code execution vulnerability in node-weakauras-parser. A fix is available for node-weakauras-parser — see the affected versions and patch details below.

Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Oct 4, 2021 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
node-weakauras-parsernpm
461downloads / week

Description

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmnode-weakauras-parser≥ 1.0.4&&< 1.0.51.0.5npm install node-weakauras-parser@1.0.5
📦npmnode-weakauras-parser≥ 2.0.0&&< 2.0.22.0.2npm install node-weakauras-parser@2.0.2
📦npmnode-weakauras-parser≥ 3.0.0&&< 3.0.13.0.1npm install node-weakauras-parser@3.0.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for node-weakauras-parser, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update node-weakauras-parser to 1.0.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-86mr-6m89-vgj3 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-86mr-6m89-vgj3 in your dependencies?

Find it across npm, including transitive dependencies.

Buffer Overflow in node-weakauras-parser