{
  "schema_version": "1.4.0",
  "id": "GHSA-3p92-886g-qxpq",
  "modified": "2021-08-04T21:27:04Z",
  "published": "2019-06-04T15:42:32Z",
  "aliases": [],
  "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "floody"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1.1"
            }
          ]
        }
      ]
    }
  ],
  "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"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-201"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-04T15:40:44Z",
    "nvd_published_at": null
  }
}