{
  "schema_version": "1.4.0",
  "id": "GHSA-86p3-4gfq-38f2",
  "modified": "2021-08-04T21:31:03Z",
  "published": "2019-06-05T14:10:34Z",
  "aliases": [],
  "summary": "Denial of Service in url-relative",
  "details": "All versions of `url-relative` are vulnerable to Denial of Service. If the values `to` and `from` are equal, the function hangs and never returns. This may cause a Denial of Service.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
  "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": "url-relative"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.0.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/junosuarez/url-relative/issues/3"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-URLRELATIVE-173691"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/783"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-05T13:46:47Z",
    "nvd_published_at": null
  }
}