{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-21270","id":"CVE-2018-21270","title":"Out-of-bounds Read in stringstream","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).","descriptionLong":"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).","published":"2020-12-03T21:00:45.000Z","updated":"2026-10-24T10:49:40.834863904Z","reserved":"2020-12-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"medium","source":"OSV"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"stringstream","purl":"pkg:npm/stringstream","ranges":["<0.0.6"],"fixed":["0.0.6"],"advisory":"GHSA-mf6x-7mm4-x2g7"}],"cwes":["CWE-125"],"aliases":["GHSA-mf6x-7mm4-x2g7"],"references":[{"url":"https://hackerone.com/reports/321670","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.npmjs.com/advisories/664","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/mhart/StringStream/issues/7","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/mhart/StringStream/blob/v0.0.5/stringstream.js#L32","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03682,"epssPercentile":0.89904,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21270","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-21270","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mf6x-7mm4-x2g7","ok":true,"note":"GHSA-mf6x-7mm4-x2g7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-21270","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}