Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1nNTMzLXhxNXctam1mM84AA9wP
node-stringbuilder vulnerable to Out-of-bounds Read
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.
Permalink: https://github.com/advisories/GHSA-g533-xq5w-jmf3JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNTMzLXhxNXctam1mM84AA9wP
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 2 months ago
Updated: 30 days ago
CVSS Score: 8.2
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Identifiers: GHSA-g533-xq5w-jmf3, CVE-2024-21524
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-21524
- https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67
- https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617
- https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c#L1281
- https://github.com/advisories/GHSA-g533-xq5w-jmf3
Blast Radius: 9.1
Affected Packages
npm:node-stringbuilder
Dependent packages: 3Dependent repositories: 13
Downloads: 2,495 last month
Affected Version Ranges: <= 2.2.7
No known fixed version
All affected versions: 1.0.0, 1.1.0, 1.3.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7