Buffer Overflow Affecting node-weakauras-parser package, versions >=1.0.4 <1.0.5>=2.0.0 <2.0.2>=3.0.0 <3.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NODEWEAKAURASPARSER-564886
  • published8 Apr 2020
  • disclosed7 Apr 2020
  • creditVelithris

Introduced: 7 Apr 2020

CVE NOT AVAILABLE CWE-120  (opens in a new tab)

How to fix?

Upgrade node-weakauras-parser to version 1.0.5, 2.0.2, 3.0.1 or higher.

Overview

node-weakauras-parser is a native module for Node.js that does deserialization/serialization of WeakAuras' strings.

Affected versions of this package are vulnerable to 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.

CVSS Scores

version 3.1