{"id":"GHSA-3p92-886g-qxpq","summary":"Remote Memory Exposure in floody","details":"Versions of `floody` before 0.1.1 are vulnerable to remote memory exposure.\n\n.write(number)` in the affected `floody` versions passes a number to Buffer constructor, appending a chunk of uninitialized memory.\n\nProof of Concept: \n\n```\nvar f = require('floody')(process.stdout); \nf.write(USERSUPPLIEDINPUT); \n'f.stop();\n\n\n## Recommendation\n\nUpdate to version 0.1.1 or later.","modified":"2021-08-04T21:27:04Z","published":"2019-06-04T15:42:32Z","database_specific":{"github_reviewed_at":"2019-06-04T15:40:44Z","nvd_published_at":null,"cwe_ids":["CWE-201"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/soldair/node-floody/commit/6c44722312131f4ac8a1af40f0f861c85efe01b0"},{"type":"WEB","url":"https://snyk.io/vuln/npm:floody:20160115"},{"type":"WEB","url":"https://www.npmjs.com/advisories/601"}],"affected":[{"package":{"name":"floody","ecosystem":"npm","purl":"pkg:npm/floody"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-3p92-886g-qxpq/GHSA-3p92-886g-qxpq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}