{"id":"CVE-2018-21270","aliases":["CLSA-2026-1772583200","CLSA-2026-1773274557","DEBIAN-CVE-2018-21270","GHSA-mf6x-7mm4-x2g7","UBUNTU-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...","published_at":"2019-06-20T18:22:32Z","modified_at":"2026-10-23T18:03:05.986936Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.03681999817490578,"percentile":0.8992000222206116,"date":"2026-11-19T00:00:00Z"},"priority":8.5,"details":"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).","affected_stack":[],"affected_other":[{"ecosystem":"Debian:12","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"},{"ecosystem":"Debian:13","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"},{"ecosystem":"Debian:14","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"},{"ecosystem":"NVD","package":"nodejs:node.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6"}]}],"fixed":["0.0.6"],"provider":"nvd","source":"CVE-2018-21270","relation":"self"},{"ecosystem":"TuxCare:npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.5-tuxcare.0"},{"fixed":"0.0.5-tuxcare.1"}]}],"versions":["0.0.5"],"fixed":["0.0.5-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1772583200","relation":"self"},{"ecosystem":"TuxCare:npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.4-tuxcare.0"},{"fixed":"0.0.4-tuxcare.1"}]}],"versions":["0.0.4"],"fixed":["0.0.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1773274557","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-stringstream","purl":"pkg:deb/ubuntu/node-stringstream@0.0.5-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.5-1"],"provider":"osv","source":"UBUNTU-CVE-2018-21270","relation":"self"},{"ecosystem":"npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.6"}]}],"fixed":["0.0.6"],"provider":"osv","source":"GHSA-mf6x-7mm4-x2g7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:3917"],"provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"not_affected","packages":["quay/clair-rhel8","quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-operator-bundle","quay/quay-operator-rhel8"],"package_count":9,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["kibana","openshift4/ose-logging-kibana6","openshift4/ose-metering-hadoop"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2018-21270","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270","license":"CC-BY-4.0","published_at":"2020-12-03T21:00:45Z","modified_at":"2024-08-05T12:26:39.596Z","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...","details":"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).","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://hackerone.com/reports/321670"},{"type":"WEB","url":"https://www.npmjs.com/advisories/664"},{"type":"WEB","url":"https://github.com/mhart/StringStream/issues/7"}]},{"provider":"nvd","source_id":"CVE-2018-21270","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21270","severity":[],"affected":[{"ecosystem":"NVD","package":"nodejs:node.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6"}]}],"fixed":["0.0.6"],"provider":"nvd","source":"CVE-2018-21270","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1772583200","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1772583200","published_at":"2026-08-04T14:52:10Z","modified_at":"2026-10-15T09:46:59.607568Z","summary":"TuxCare security update for stringstream (1 CVE)","details":"TuxCare rebuilt stringstream to address 1 CVE. Fixed in 0.0.5-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.5-tuxcare.0"},{"fixed":"0.0.5-tuxcare.1"}]}],"versions":["0.0.5"],"fixed":["0.0.5-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1772583200","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1773274557","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1773274557","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:27.943708Z","summary":"TuxCare security update for stringstream (1 CVE)","details":"TuxCare rebuilt stringstream to address 1 CVE. Fixed in 0.0.4-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.4-tuxcare.0"},{"fixed":"0.0.4-tuxcare.1"}]}],"versions":["0.0.4"],"fixed":["0.0.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1773274557","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2018-21270","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-21270","published_at":"2020-12-03T21:15:11.1Z","modified_at":"2026-10-23T18:03:05.986936Z","details":"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).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"DEBIAN-CVE-2018-21270"}],"affected":[{"ecosystem":"Debian:12","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"},{"ecosystem":"Debian:13","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"},{"ecosystem":"Debian:14","package":"node-stringstream","purl":"pkg:deb/debian/node-stringstream?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6-1"}]}],"fixed":["0.0.6-1"],"provider":"osv","source":"DEBIAN-CVE-2018-21270","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-21270"}]},{"provider":"osv","source_id":"GHSA-mf6x-7mm4-x2g7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mf6x-7mm4-x2g7","license":"CC-BY-4.0","published_at":"2019-06-20T18:22:32Z","modified_at":"2023-11-08T04:00:14.605779Z","summary":"Out-of-bounds Read in stringstream","details":"All versions of `stringstream` are vulnerable to out-of-bounds read as it allocates uninitialized Buffers when number is passed in input stream on Node.js 4.x and below.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module if user input is being passed in to `stringstream`.","severity":[],"affected":[{"ecosystem":"npm","package":"stringstream","purl":"pkg:npm/stringstream","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.6"}]}],"fixed":["0.0.6"],"provider":"osv","source":"GHSA-mf6x-7mm4-x2g7","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://hackerone.com/reports/321670"},{"type":"WEB","url":"https://github.com/mhart/StringStream/blob/v0.0.5/stringstream.js#L32"},{"type":"WEB","url":"https://www.npmjs.com/advisories/664"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2018-21270","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-21270","license":"CC-BY-SA-4.0","published_at":"2020-12-03T21:15:00Z","modified_at":"2025-10-24T04:47:19Z","details":"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).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"UBUNTU-CVE-2018-21270"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2018-21270"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"node-stringstream","purl":"pkg:deb/ubuntu/node-stringstream@0.0.5-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.5-1"],"provider":"osv","source":"UBUNTU-CVE-2018-21270","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-21270"},{"type":"REPORT","url":"https://github.com/mhart/StringStream/issues/7"},{"type":"REPORT","url":"https://hackerone.com/reports/321670"},{"type":"REPORT","url":"https://www.npmjs.com/advisories/664"},{"type":"REPORT","url":"https://github.com/mhart/StringStream/commit/afbc7442220358419e330618e47f3a65fc265b1b"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270"}]},{"provider":"redhat-vex","source_id":"CVE-2018-21270","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-21270","license":"CC-BY-4.0","published_at":"2020-05-16T00:00:00Z","modified_at":"2026-02-02T07:28:08.393982Z","summary":"nodejs-stringstream: out-of-bounds read leading to uninitialized memory exposure","details":"A flaw was found in nodejs-stringstream. Node.js stringstream module is vulnerable to an out-of-bounds read because of allocation of uninitialized buffers when a number is passed in the input stream.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"CVE-2018-21270"},{"type":"Red Hat","score":"Moderate","source":"CVE-2018-21270"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:3917"],"provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"not_affected","packages":["quay/clair-rhel8","quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-operator-bundle","quay/quay-operator-rhel8"],"package_count":9,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["kibana","openshift4/ose-logging-kibana6","openshift4/ose-metering-hadoop"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-21270"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-21270.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-21270"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927293"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21270"}]}],"references":[{"type":"WEB","url":"https://hackerone.com/reports/321670"},{"type":"WEB","url":"https://www.npmjs.com/advisories/664"},{"type":"WEB","url":"https://github.com/mhart/StringStream/issues/7"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-21270"},{"type":"WEB","url":"https://github.com/mhart/StringStream/blob/v0.0.5/stringstream.js#L32"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-21270"},{"type":"REPORT","url":"https://github.com/mhart/StringStream/commit/afbc7442220358419e330618e47f3a65fc265b1b"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-21270.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-21270"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927293"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21270"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2018-21270","url":"https://www.cve.org/CVERecord?id=CVE-2018-21270","license":"CC-BY-4.0","modified_at":"2024-08-05T12:26:39.596Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2018-21270","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21270","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1772583200","url":"https://osv.dev/vulnerability/CLSA-2026-1772583200","modified_at":"2026-10-15T09:46:59.607568Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1773274557","url":"https://osv.dev/vulnerability/CLSA-2026-1773274557","modified_at":"2026-10-15T09:47:27.943708Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2018-21270","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-21270","modified_at":"2026-10-23T18:03:05.986936Z","relation":"self"},{"provider":"osv","source_id":"GHSA-mf6x-7mm4-x2g7","url":"https://osv.dev/vulnerability/GHSA-mf6x-7mm4-x2g7","license":"CC-BY-4.0","modified_at":"2023-11-08T04:00:14.605779Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2018-21270","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-21270","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:47:19Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-21270","url":"https://access.redhat.com/security/cve/CVE-2018-21270","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:08.393982Z","relation":"self"}]}
