{"cve":"CVE-2024-21524","nvd":{"published":"2024-07-10T05:15:11.340","modified":"2026-06-17T07:09:40.537","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1},"cwes":["CWE-125"],"references":["https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67","https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c%23L1281","https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617","https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67","https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c%23L1281"],"products":["magiclen:stringbuilder"],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-21524","score":0.0087,"percentile":0.58803,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g533-xq5w-jmf3","url":"https://osv.dev/vulnerability/GHSA-g533-xq5w-jmf3","summary":"node-stringbuilder vulnerable to Out-of-bounds Read","modified":"2024-07-10T20:59:36.987396Z","packages":[{"ecosystem":"npm","name":"node-stringbuilder","purl":"pkg:npm/node-stringbuilder","ranges":["<=2.2.7"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}