CVE-2024-21524
Last modified
CVE-2024-21524 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 0.82% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Magiclen | Stringbuilder | <= 2.2.7 |
References
- https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617Exploit, Third Party Advisory
- https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-21524?
How severe is CVE-2024-21524?
How do I fix CVE-2024-21524?
Are you affected by CVE-2024-21524?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
