{
  "schema_version": "1.4.0",
  "id": "GHSA-v6cj-r88p-92rm",
  "modified": "2021-09-20T15:40:54Z",
  "published": "2019-09-30T19:31:59Z",
  "aliases": [],
  "summary": "Buffer Overflow in centra",
  "details": "## Denial of Service\n\n### Impact\n\nAffected Centra versions will, when not in stream mode, buffer responses to requests into memory with no size limit. This issue affects anyone requesting content from untrusted sources.\n\n### Patches\n\nVersion 2.4.0 resolves the issue by limiting the size of buffered response body.\n\n### Workarounds\n\nAttempting workarounds isn't recommended. Updating is preferred.\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [ethanent/centra](https://github.com/ethanent/centra).\n\n",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "centra"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ethanent/centra/security/advisories/GHSA-v6cj-r88p-92rm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-v6cj-r88p-92rm"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ethanent/centra"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-CENTRA-536073"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-119"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:57:00Z",
    "nvd_published_at": null
  }
}