Live threats

All CVEs / Magiclen

CVE-2024-21524Magiclen Stringbuilder

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Jul 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Stringbuilder.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm node-stringbuilder ≤ 2.2.7 no fixed version —

Per OSV / GitHub Advisories (GHSA-g533-xq5w-jmf3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magiclenstringbuilder≤ 2.2.7

Official sources

References

Links published by the sources. Open them with care.