CVE-2024-21524

CRITICALCVSS 9.1/10EPSS 0.82%

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
9.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

EPSS Probability
0.82%

52.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MagiclenStringbuilder<= 2.2.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-21524?
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.
How severe is CVE-2024-21524?
CVE-2024-21524 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 0.82% probability of exploitation in the next 30 days.
How do I fix CVE-2024-21524?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-21524?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST