PT-2024-18938

CVE-2024-21524

·

Published

2024-07-10

·

Updated

2024-09-09

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions node-stringbuilder versions all
Description The issue arises from incorrect memory length calculation in the node-stringbuilder package, leading to an Out-of-bounds Read. This occurs when methods such as ToBuffer, ToString, or CharAt are called on a StringBuilder object with a non-empty string value input. Providing negative indexes can result in the return of previously allocated memory, leading to an Information Disclosure.
Recommendations For all versions, consider disabling the ToBuffer, ToString, and CharAt methods on StringBuilder objects until a patch is available to prevent potential Information Disclosure. Restrict the use of negative indexes to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-G533-XQ5W-JMF3
Found an issue in the description? Have something to add? Feel free to write us 👾