Medium
Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-21270
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:43 UTC · Revision 1
Source evidence
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).
osv:CVE-2018-21270
Complete source record
{
"id": "621a0b45b9a75c7670669dd28a3ce581e817effd46dfa934022ca901088b19fe",
"url": "https://osv.dev/vulnerability/CVE-2018-21270",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-21270",
"summary": "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).",
"evidence": "osv:CVE-2018-21270",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-21270",
"aliases": [
"CVE-2018-21270",
"GHSA-mf6x-7mm4-x2g7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nodejs/node",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "fbe0be19ebfb422d8fa20ea5204c1713e9214d5f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.0.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.0.4",
"v0.0.3",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-21270.json"
}
}
],
"modified": "2026-10-24T10:49:40.834863904Z",
"provider": "osv",
"references": [
"https://github.com/mhart/StringStream/issues/7",
"https://hackerone.com/reports/321670",
"https://www.npmjs.com/advisories/664"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-21270",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441792,
"published_at": "2020-12-03T21:15:11.1+00:00"
}