{
  "schema_version": "1.4.0",
  "id": "GHSA-2pr6-76vf-7546",
  "modified": "2021-08-04T21:32:56Z",
  "published": "2019-06-05T14:35:29Z",
  "aliases": [],
  "summary": "Denial of Service in js-yaml",
  "details": "Versions of `js-yaml` prior to 3.13.0 are vulnerable to Denial of Service. By parsing a carefully-crafted YAML file, the node process stalls and may exhaust system resources leading to a Denial of Service.\n\n\n## Recommendation\n\nUpgrade to version 3.13.0.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "js-yaml"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.13.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nodeca/js-yaml/issues/475"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nodeca/js-yaml/commit/a567ef3c6e61eb319f0bfc2671d91061afb01235"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-JSYAML-173999"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/788"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/788/versions"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-05T13:52:07Z",
    "nvd_published_at": null
  }
}