CVE-2018-21270Nodejs Node.js
Medium 6.5 No auth needed
Follow: this CVE · Nodejs · Nodejs Node.js We alert you by email or Slack (account required).
- 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).
What to do
- Apply the vendor's security update for Node.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | node.js | < 0.0.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Third Party Advisory
- hackerone.com Exploit Third Party Advisory
- www.npmjs.com Exploit Third Party Advisory