CVE-2024-21524
published high CVSS 3.1 · 8.2node-stringbuilder vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | node-stringbuilder | 0 and later (affected · semver) | snyk · cna |
| magiclen | node-stringbuilder | 0 and later (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
3Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4657e6a6850f837cb5b6aeb73922e1901514700299885e92595accf0923761b8
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record