CVE-2024-21524

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21524
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21524.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21524
Aliases
Published
2024-07-10T05:15:11Z
Modified
2025-01-08T09:44:04.003032Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/magiclen/node-stringbuilder

Affected ranges

Type
GIT
Repo
https://github.com/magiclen/node-stringbuilder
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v1.*

v1.0.0
v1.1.0
v1.3.0

v2.*

v2.0.0
v2.0.1
v2.0.2
v2.1.0
v2.1.1
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.2.4
v2.2.5
v2.2.6
v2.2.7