Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-21524: All versions of the package node-stringbuilder are vulnerable to Out-of-bounds Read due to incorrect memory le

53
This week
HIGH 8.2REMOTEUPGRADE

CVE-2024-21524 is a high-severity flaw (CVSS 8.2) affecting stringbuilder. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 41%)
CISA exploited listNo
WeaknessCWE-125
Published2024-07-10
Last modified2026-06-17
Publisher (CNA): Snyk · Vendor: magiclen

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

magiclen stringbuilder UPGRADE
Affected: <= 2.2.7
Fixed in: newer than 2.2.7
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls stringbuilder
2. UPGRADE to newer than 2.2.7
npm install stringbuilder@">2.2.7"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-21524?

stringbuilder: upgrade to newer than 2.2.7. Exact commands for each OS are on this page.

Is CVE-2024-21524 being exploited?

CVE-2024-21524 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-21524 affect?

CVE-2024-21524 affects stringbuilder. Severity is high (CVSS 8.2). 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 pos

How urgent is CVE-2024-21524?

Priority 53/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.