Advisory

GHSA-g533-xq5w-jmf3

Also known as: CVE-2024-21524

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-07-10 06:33 UTC
Modified
2024-07-10 20:59 UTC

Affected packages and fixes

node-stringbuilder

npm · All systems

Affected

  • introduced 0, last affected 2.2.7 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences