CVEvulnerability

CVE-2024-21524

9.1 CRITICAL Published 2024-07-10 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-07-10
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS 3.1 ([email protected])
9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

Description

All versions of the package node-stringbuilder 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.

Affected configurations

• magiclen stringbuilder (<= 2.2.7)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References