Security mailing lists by PureSourceCode

CVE-2018-21270

MEDIUM 6.5CVSS 3.1

Out-of-bounds Read in stringstream

Versions less than 0.0.6 of the Node.js stringstream module are vulnerable to an out-of-bounds read because of allocation of uninitialized buffers when a number is passed in the input stream (when using Node.js 4.x).

Published
3 Dec 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-125
Also known as
GHSA-mf6x-7mm4-x2g7
Sources
NVDJSONOSV GHSA-mf6x-7mm4-x2g7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
< 0.0.6 0.0.6
OSV npm stringstream < 0.0.6 0.0.6

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 3 Dec 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jun 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.