Live threats

All CVEs / Nodejs

CVE-2018-21270Nodejs Node.js

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
3.7%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Dec 3, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm stringstream < 0.0.6 0.0.6 npm install stringstream@0.0.6

Per OSV / GitHub Advisories (GHSA-mf6x-7mm4-x2g7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodejsnode.js< 0.0.6

Official sources

References

Links published by the sources. Open them with care.