Lucene search

K
cveSnykCVE-2024-21524
HistoryJul 10, 2024 - 5:15 a.m.

CVE-2024-21524

2024-07-1005:15:11
CWE-125
snyk
web.nvd.nist.gov
26
vulnerability
out-of-bounds read
memory length calculation
information disclosure
node-stringbuilder

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

7.1

Confidence

High

EPSS

0.001

Percentile

30.1%

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 configurations

Nvd
Node
magiclenstringbuilderRange2.2.7node.js
VendorProductVersionCPE
magiclenstringbuilder*cpe:2.3:a:magiclen:stringbuilder:*:*:*:*:*:node.js:*:*

CNA Affected

[
  {
    "product": "node-stringbuilder",
    "versions": [
      {
        "version": "0",
        "lessThan": "*",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "vendor": "n/a"
  }
]

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

7.1

Confidence

High

EPSS

0.001

Percentile

30.1%