{"id":"CVE-2018-3774","published":"2018-08-12T22:00:00Z","modified":"2024-08-05T04:50:30Z","title":"Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF…","vendor":"HackerOne","product":"url-parse","tier":"tail","description":{"text":"Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03805,"percentile":0.8999,"provenance":"source"},"cwes":[{"id":"CWE-425","name":"Direct Request"}],"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","tags":["x_refsource_CONFIRM"]},{"url":"https://hackerone.com/reports/384029","tags":["x_refsource_MISC"]},{"url":"https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":18.0}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"url-parse","versions":["1.4.3"]}],"affected":[{"ecosystem":"npm","package":"url-parse","vulnerableRanges":[">=1.0.0, <1.4.3"],"patched":["1.4.3"],"from":["GHSA-pv4c-p2j5-38j4"],"provenance":"source"}],"euvd":{"id":"EUVD-2018-0418","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unshiftio-url-parse-cve-2018-3774","children":[{"from":"CVE-2018-3774","to":"CVE-2020-8124","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.4.3","toFixed":"1.4.5","daysApart":541},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","https://github.com/unshiftio/url-parse/commit/3ecd256f127c3ada36a84d9b8dd3ebd14316274b"],"basis":"shared function","functions":["lolcation","resolve"]}]},{"from":"CVE-2018-3774","to":"CVE-2021-27515","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0"],"basis":"shared function","functions":["Url","lolcation"]}]},{"from":"CVE-2018-3774","to":"CVE-2021-3664","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0"],"basis":"shared function","functions":["Url","lolcation"]}]},{"from":"CVE-2018-3774","to":"CVE-2022-0512","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de","https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a","https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40"],"basis":"shared function","functions":["Url","set"]}]}],"packageHistory":[{"cve":"CVE-2018-3774","published":"2018-08-12","fixed":"1.4.3","kev":false},{"cve":"CVE-2020-8124","published":"2020-02-04","fixed":"1.4.5","kev":false},{"cve":"CVE-2021-27515","published":"2021-02-21","fixed":"1.5.0","kev":false},{"cve":"CVE-2021-3664","published":"2021-07-26","fixed":"1.5.2","kev":false}],"package":"npm:url-parse"}}