CVE-2024-21524

Published Jul 10, 2024 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2343 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.
Github GHSA Github GHSA GHSA-g533-xq5w-jmf3 node-stringbuilder vulnerable to Out-of-bounds Read
History
Type Values Removed Values Added
First Time appeared Magiclen
Magiclen stringbuilder
CPEs cpe:2.3:a:magiclen:stringbuilder:*:*:*:*:*:node.js:*:*
Vendors & Products Magiclen
Magiclen stringbuilder
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Aug 1, 2024, 10:27 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Modified
Published
Jul 10, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM