Skip to content
OpenAdvisories
High · 8.2 CVE-2024-21524 EUVD-2024-2343GHSA-g533-xq5w-jmf3

node-stringbuilder vulnerable to Out-of-bounds Read

Published Jul 10, 2024 · Updated Aug 1, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— node-stringbuilder — —

Affected packages

EcosystemPackageAffectedFixedRecord
npm node-stringbuilder <= 2.2.7 — GHSA-g533-xq5w-jmf3

References