GHSA-g533-xq5w-jmf3

Suggest an improvement
Source
https://github.com/advisories/GHSA-g533-xq5w-jmf3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-g533-xq5w-jmf3/GHSA-g533-xq5w-jmf3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-g533-xq5w-jmf3
Aliases
Published
2024-07-10T06:33:52Z
Modified
2024-07-10T20:57:49.406367Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
  • 8.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
node-stringbuilder vulnerable to Out-of-bounds Read
Details

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.

Database specific
{
    "nvd_published_at": "2024-07-10T05:15:11Z",
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-07-10T20:43:35Z"
}
References

Affected packages

npm / node-stringbuilder

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.2.7