{"id":"CVE-2021-27515","published":"2021-02-21T00:00:00Z","modified":"2024-08-03T21:26:09Z","title":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path","vendor":null,"product":null,"tier":"tail","description":{"text":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01964,"percentile":0.80297,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0","tags":[]},{"url":"https://github.com/unshiftio/url-parse/pull/197","tags":[]},{"url":"https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0","tags":[]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4306","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.06}]},"affected":[{"ecosystem":"npm","package":"url-parse","vulnerableRanges":[">=0.1.0, <1.5.0"],"patched":["1.5.0"],"from":["GHSA-9m6j-fcg5-2442"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-1029","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unshiftio-url-parse-cve-2018-3774","parents":[{"from":"CVE-2020-8124","to":"CVE-2021-27515","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.4.5","toFixed":"1.5.0","daysApart":383},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/3ecd256f127c3ada36a84d9b8dd3ebd14316274b","https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0"],"basis":"shared function","functions":["lolcation"]}]},{"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"]}]}],"children":[{"from":"CVE-2021-27515","to":"CVE-2021-3664","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.5.0","toFixed":"1.5.2","daysApart":155},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0","https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0"],"basis":"shared function","functions":["Url","lolcation"]}]},{"from":"CVE-2021-27515","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/d1e7e8822f26e8a49794b757123b51386325b2b0","https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40"],"basis":"shared function","functions":["Url"]}]}],"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},{"cve":"CVE-2022-0512","published":"2022-02-14","fixed":"1.5.6","kev":false},{"cve":"CVE-2022-0639","published":"2022-02-17","fixed":"1.5.7","kev":false}],"package":"npm:url-parse"}}