CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024

CVE-2024-21524
Magiclen Stringbuilder vulnerability

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.

Affected products

Stringbuilder. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Magiclen Stringbuilder runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.