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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-21519This affects versions of the package opencart/opencart from …7.2
- CVE-2024-2152A vulnerability, which was classified as critical, has been …9.8
- CVE-2024-21520Versions of the package djangorestframework before 3.15.2 ar…6.1
- CVE-2024-21521All versions of the package @discordjs/opus are vulnerable t…7.5
- CVE-2024-21522All versions of the package audify are vulnerable to Imprope…7.5
- CVE-2024-21523All versions of the package images are vulnerable to Denial …7.5
- CVE-2024-21525All versions of the package node-twain are vulnerable to Imp…8.3
- CVE-2024-21526All versions of the package speaker are vulnerable to Denial…7.5
- CVE-2024-21527Versions of the package github.com/gotenberg/gotenberg/v8/pk…8.2
- CVE-2024-21528All versions of the package node-gettext are vulnerable to P…5.9
- CVE-2024-21529Versions of the package dset before 3.1.4 are vulnerable to …8.8
- CVE-2024-2153A vulnerability, which was classified as critical, was found…9.8
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
