{"id":"CVE-2022-0512","published":"2022-02-14T00:00:00Z","modified":"2024-08-02T23:32:45Z","title":"Authorization Bypass Through User-Controlled Key in unshiftio/url-parse","vendor":"unshiftio","product":"unshiftio/url-parse","tier":"tail","description":{"text":"Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01782,"percentile":0.78214,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b","tags":[]},{"url":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":15.64},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"unshiftio","affectedVersions":[{"vendor":"unshiftio","product":"unshiftio/url-parse","versions":[">= unspecified, < 1.5.6"]}],"affected":[{"ecosystem":"npm","package":"url-parse","vulnerableRanges":[">=0.1.0, <1.5.6"],"patched":["1.5.6"],"from":["GHSA-rqff-837h-mm52"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1181","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unshiftio-url-parse-cve-2018-3774","parents":[{"from":"CVE-2021-3664","to":"CVE-2022-0512","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.5.2","toFixed":"1.5.6","daysApart":203},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0","https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40"],"basis":"shared function","functions":["Url"]}]},{"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"]}]},{"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-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,"link":{"from":"CVE-2022-0512","to":"CVE-2022-0639","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.5.6","toFixed":"1.5.7","daysApart":3},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40","https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788"],"basis":"shared file"}]}},{"cve":"CVE-2022-0686","published":"2022-02-20","fixed":"1.5.8","kev":false},{"cve":"CVE-2022-0691","published":"2022-02-21","fixed":"1.5.9","kev":false}],"package":"npm:url-parse"}}