{"id":"CVE-2018-3774","aliases":["DEBIAN-CVE-2018-3774","EUVD-2018-0418","GHSA-pv4c-p2j5-38j4","UBUNTU-CVE-2018-3774","USN-5973-1"],"status":"published","title":"Open Redirect in url-parse","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","severity":{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03805,"percentile":0.90097,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-425","CWE-601","CWE-918"],"published":"2018-08-12T22:00:00Z","modified":"2026-10-23T18:03:21Z","fixes":[{"ecosystem":"npm","package":"url-parse","fixed_in":["1.4.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-url-parse","fixed_in":["1.2.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-url-parse","fixed_in":["1.2.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-url-parse","fixed_in":["1.2.0-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","fixed_in":["1.0.5-2ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","fixed_in":["1.2.0-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-2"}]}]},{"source":"osv","ecosystem":"npm","package":"url-parse","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.4.3"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-2ubuntu0.1~esm2"}]}],"versions":["1.0.5-1","1.0.5-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu0.1"}]}],"versions":["1.0.5-2","1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-2ubuntu0.1~esm2"}]}],"versions":["1.0.5-1","1.0.5-2"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu0.1"}]}],"versions":["1.0.5-2","1.2.0-1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.7-3ubuntu0.1"}]}],"versions":["1.4.7-3"],"bundled":8}],"products":[{"vendor":"hackerone","product":"url-parse"},{"vendor":"url-parse_project","product":"url-parse"}],"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://hackerone.com/reports/384029","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3774","tags":["advisory"]},{"url":"https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2","tags":["web"]},{"url":"https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pv4c-p2j5-38j4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-3774","tags":["advisory"]},{"url":"https://github.com/unshiftio/url-parse","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-3774","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5973-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3774","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-8124","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3664","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-27515","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0512","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0639","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0686","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0691","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-3774","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:00:00Z","modified":"2024-08-05T04:50:30.463Z","cwes":["CWE-425"],"updated_at":"2026-11-02T14:35:05.262903Z"}],"euvd":[{"id":"EUVD-2018-0418","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:00:00Z","modified":"2024-08-05T04:50:30Z","updated_at":"2026-11-03T02:40:15.759349Z"}],"ghsa":[{"id":"GHSA-pv4c-p2j5-38j4","title":"Open Redirect in url-parse","description":"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.","status":"published","published":"2018-08-13T15:02:15Z","modified":"2026-01-23T20:10:58Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-425"],"updated_at":"2026-11-02T14:39:19.525691Z"}],"nvd":[{"id":"CVE-2018-3774","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:29:00.22Z","modified":"2026-06-17T01:57:48.34Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-425","CWE-601","CWE-918"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"CVE-2018-3774","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:29:00.22Z","modified":"2026-03-15T14:31:05.135013Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-3774","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:29:00.22Z","modified":"2026-10-23T18:03:21.405489639Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"GHSA-pv4c-p2j5-38j4","title":"Open Redirect in url-parse","description":"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.","status":"published","published":"2018-08-13T15:02:15Z","modified":"2026-02-03T03:08:48.785375Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-425"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"UBUNTU-CVE-2018-3774","description":"Incorrect parsing in url-parse \u003c1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","status":"published","published":"2018-08-12T22:29:00Z","modified":"2026-02-04T04:07:45.069126Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"USN-5973-1","title":"node-url-parse vulnerabilities","description":"It was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. (CVE-2018-3774)\n\nIt was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass input\nvalidation. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2020-8124)\n\nYaniv Nizry discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2021-27515)\n\nIt was discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2021-3664)\n\nIt was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass\nauthorization. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2022-0512, CVE-2022-0639, CVE-2022-0691)\n\nRohan Sharma discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass\nauthorization. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2022-0686)\n","status":"published","published":"2023-03-27T14:59:16Z","modified":"2026-06-25T13:31:55.291914058Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
