{"id":"UBUNTU-CVE-2018-21270","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).","modified":"2025-10-24T04:47:19Z","published":"2020-12-03T21:15:00Z","upstream":["CVE-2018-21270"],"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"}],"affected":[{"package":{"name":"node-stringstream","ecosystem":"Ubuntu:18.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0.5-1","binary_name":"node-stringstream"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21270.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}