{
  "schema_version": "1.4.0",
  "id": "GHSA-pv4c-p2j5-38j4",
  "modified": "2023-09-11T22:06:04Z",
  "published": "2018-08-13T15:02:15Z",
  "aliases": [
    "CVE-2018-3774"
  ],
  "summary": "Open Redirect in url-parse",
  "details": "Versions of `url-parse` before 1.4.3 returns the wrong hostname which could lead to Open Redirect, Server Side Request Forgery (SSRF), or Bypass Authentication Protocol vulnerabilities.\n\n\n## Recommendation\n\nUpdate to version 1.4.3 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "url-parse"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3774"
    },
    {
      "type": "WEB",
      "url": "https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a"
    },
    {
      "type": "WEB",
      "url": "https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/384029"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-pv4c-p2j5-38j4"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/678"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-425"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:50:04Z",
    "nvd_published_at": null
  }
}