Skip to content

node-stringbuilder vulnerable to Out-of-bounds Read

High severity GitHub Reviewed Published Jul 10, 2024 to the GitHub Advisory Database • Updated Jul 10, 2024

Package

node-stringbuilder (npm)

Affected versions

<= 2.2.7

Patched versions

None

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.

References

Published by the National Vulnerability Database Jul 10, 2024
Published to the GitHub Advisory Database Jul 10, 2024
Last updated Jul 10, 2024
Reviewed Jul 10, 2024

Severity

High
8.2
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Weaknesses

CVE ID

CVE-2024-21524

GHSA ID

GHSA-g533-xq5w-jmf3
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.