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-jmf3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNTMzLXhxNXctam1mM84AA9wP
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 5 months ago
Updated: 4 months 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: Repository: https://github.com/magiclen/node-stringbuilder
Blast Radius: 9.1

Affected Packages

npm:node-stringbuilder
Dependent packages: 3
Dependent repositories: 13
Downloads: 2,045 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