Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. stringstream
  4. ›
  5. CVE-2018-21270

CVE-2018-21270: Out-of-bounds Read

June 20, 2019 (updated March 19, 2021)

Versions less than 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 ).

References

  • github.com/advisories/GHSA-mf6x-7mm4-x2g7
  • github.com/mhart/StringStream/blob/v0.0.5/stringstream.js
  • hackerone.com/reports/321670
  • www.npmjs.com/advisories/664

Code Behaviors & Features

Detect and mitigate CVE-2018-21270 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.6

Fixed versions

  • 0.0.6

Solution

Upgrade to version 0.0.6 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

npm/stringstream/CVE-2018-21270.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:49 +0000.