Skip to main content
No exploitation reportedFix available

CVE-2018-21270

No exploitation reported by the sources we read.

  • Published2020-12-03
  • Fixed in0.0.6
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2020-12-0321:15CVE publishedNVD

Versions per branch

NVD · OSV
Node.js
BranchAffectedFixed in
0.0< 0.0.60.0.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • node-stringstreamUbuntu:18.04:LTSall versions · no fixed version listed
  • node-stringstreamDebian:14all versions · fixed in 0.0.6-1
  • node-stringstreamDebian:13all versions · fixed in 0.0.6-1
  • node-stringstreamDebian:12all versions · fixed in 0.0.6-1
  • stringstreamTuxCare:npmfrom 0.0.4-tuxcare.0 · fixed in 0.0.4-tuxcare.1
  • stringstreamTuxCare:npmfrom 0.0.5-tuxcare.0 · fixed in 0.0.5-tuxcare.1

Vendor advisories

  • CVE-2018-21270 Red Hat Product Security1 product fixed

    nodejs-stringstream: out-of-bounds read leading to uninitialized memory exposure

  • RHSA-2021:3917 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Quay v3.6.0 security, bug fix and enhancement update

Full record on NVD

Fix

  1. Update Node.js to 0.0.6
  2. Vendor fix Red Hat Product Security RHSA-2021:3917 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.16.5read 2026-10-23
  • NVDCVSS 2.05.8read 2026-10-23
  • NVDweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score3.7 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2019-06-20

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Published
2020-12-03
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-mf6x-7mm4-x2g7

Frequently asked questions

What is CVE-2018-21270?

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

Is CVE-2018-21270 actively exploited?

Active exploitation of CVE-2018-21270 has not been confirmed. Its EPSS score was 3.7% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-21270?

CVE-2018-21270 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H.

Running stringstream? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record