{
  "schema_version": "1.4.0",
  "id": "GHSA-mq6c-fh97-4gwv",
  "modified": "2023-03-01T01:17:45Z",
  "published": "2018-07-18T21:20:34Z",
  "aliases": [
    "CVE-2018-3711"
  ],
  "summary": "Denial of Service vulnerability with large JSON payloads in fastify",
  "details": "Affected versions of `fastify` are vulnerable to a denial of service when processing a request with `Content-Type` set to `application/json` and a very large payload.\n\n\n## Recommendation\n\nUpdate to version 0.38.0 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "fastify"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.38.0"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 0.37.0"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3711"
    },
    {
      "type": "WEB",
      "url": "https://github.com/fastify/fastify/pull/627"
    },
    {
      "type": "WEB",
      "url": "https://github.com/fastify/fastify/commit/fabd2a011f2ffbb877394abe699f549513ffbd76"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/303632"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-mq6c-fh97-4gwv"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/564"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400",
      "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:46:52Z",
    "nvd_published_at": "2018-06-07T02:29:00Z"
  }
}