Out-of-bounds Read in Magiclen Stringbuilder
CVE-2024-21524
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.008 (55.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 55.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Magiclen Stringbuilder
- Node-Stringbuilder — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617 (Exploit, Third Party Advisory)
- github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5… (Broken Link)
- gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-21524?
- CVE-2024-21524 is a high-severity vulnerability in Magiclen Stringbuilder, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2024-07-10.
- How severe is CVE-2024-21524?
- High severity. CVSS v3 base score is 8.2 out of 10.
- Is CVE-2024-21524 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.