{"schemaVersion":3,"id":"CVE-2018-3774","aliases":["UBUNTU-CVE-2018-3774","DEBIAN-CVE-2018-3774","GHSA-pv4c-p2j5-38j4"],"status":"published","duplicateOf":null,"title":null,"description":"Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","dates":{"published":"2018-08-12T22:00:00.000Z","modified":"2024-08-05T04:50:30.463Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":10,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":10,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":10,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":10,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true}]},"epss":{"probability":0.03805,"percentile":0.89889,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03805},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03805,"percentile":0.89889}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03805,"percentile":0.89889}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-425","name":"Direct Request ('Forced Browsing')","description":"The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/425.html"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/601.html"},{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"debian","product":"node-url-parse","name":"node-url-parse","label":"node-url-parse","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-url-parse","purlType":"deb","versions":[{"text":"< 1.2.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.0-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-url-parse","name":"node-url-parse","label":"node-url-parse","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-url-parse","purlType":"deb","versions":[{"text":"< 1.0.5-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.0-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.5-2ubuntu0.1~esm2 | < 1.2.0-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"hackerone","product":"url-parse","name":"url-parse","label":"url-parse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.4.3","eol":null,"hubHref":"/vendor/hackerone/url-parse"},{"vendor":"Npm","product":"url-parse","name":"url-parse","label":"url-parse","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/url-parse","purlType":"npm","versions":[{"text":"≥ 1.0.0, < 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.4.3","eol":null,"hubHref":null},{"vendor":"url-parse_project","product":"url-parse","name":"url-parse","label":"url-parse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3","eol":null,"hubHref":"/vendor/url-parse_project/url-parse"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","label":"github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","hostname":"github.com","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT","WEB"]},{"url":"https://hackerone.com/reports/384029","label":"hackerone.com/reports/384029","hostname":"hackerone.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","REPORT","WEB"]},{"url":"https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","label":"github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","hostname":"github.com","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-3774","label":"ubuntu.com/security/CVE-2018-3774","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5973-1","label":"ubuntu.com/security/notices/USN-5973-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3774","label":"www.cve.org/CVERecord?id=CVE-2018-3774","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-3774","label":"security-tracker.debian.org/tracker/CVE-2018-3774","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3774","label":"nvd.nist.gov/vuln/detail/CVE-2018-3774","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2","label":"github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/unshiftio/url-parse","label":"github.com/unshiftio/url-parse","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0","label":"github.com/unshiftio/url-parse/compare/0.2.3...1.0.0","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-5973-1"],"duplicates":[],"related":["USN-5973-1"]},"timeline":[{"kind":"published","date":"2018-08-12T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T04:50:30.463Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:51:35.954Z","stale":false,"partial":false}}