Out-of-bounds Read Affecting node-stringbuilder package, versions *


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (32nd percentile)

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-NODESTRINGBUILDER-6421617
  • published9 Jul 2024
  • disclosed20 Feb 2024
  • creditAlessio Della Libera

Introduced: 20 Feb 2024

CVE-2024-21524  (opens in a new tab)
CWE-125  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for node-stringbuilder.

Overview

node-stringbuilder is an An easy and fast in-memory string builder for Node.js.

Affected versions of this package are vulnerable to Out-of-bounds Read due to incorrect memory length calculation, by calling ToBuffer, ToString, or CharAt on a StringBuilder object with a non-empty string value input. It's possible to return previously allocated memory, for example, by providing negative indexes, leading to an Information Disclosure.

CVSS Scores

version 3.1