{"id":"GHSA-86mr-6m89-vgj3","aliases":["GHSA-86mr-6m89-vgj3"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer Overflow in node-weakauras-parser","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:51:38.000Z","modified":"2021-10-04T21:10:07.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.4","status":"affected","fixed":"1.0.5"}],"ecosystem":"npm","package":"node-weakauras-parser","purl":"pkg:npm/node-weakauras-parser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.0.2"}],"ecosystem":"npm","package":"node-weakauras-parser","purl":"pkg:npm/node-weakauras-parser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.1"}],"ecosystem":"npm","package":"node-weakauras-parser","purl":"pkg:npm/node-weakauras-parser","source":"ghsa"}],"references":[{"url":"https://github.com/Zireael-N/node-weakauras-parser/commit/bc146da09db689e554d28e948f1cf1c138f09f69#diff-023afe6291ac9ada88788108cb3367b3R38-R43","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Zireael-N/node-weakauras-parser","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1504","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-86mr-6m89-vgj3","url":"https://github.com/advisories/GHSA-86mr-6m89-vgj3","licence":"CC-BY-4.0","modified":"2021-10-04T21:10:07.000Z"}],"updatedAt":"2026-11-25T22:56:44.675Z"}