NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-21524: node-stringbuilder vulnerable to Out-of-bounds Read

highCVSS 4.0 8.8 · 3.1 8.2GHSA-g533-xq5w-jmf3

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.

Published Jul 10, 2024 · Updated Aug 9, 2024

Affected packages

node-stringbuilder

Ecosystem
npm
Affected
<= 2.2.7
Fixed in
No patched version yet
Check
npm ls node-stringbuilder

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology