{"id":"CVE-2022-0639","published":"2022-02-17T00:00:00Z","modified":"2025-12-16T17:06:51Z","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.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01535,"percentile":0.75468,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155","tags":[]},{"url":"https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00024.html","tags":[]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":15.09},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"unshiftio","affectedVersions":[{"vendor":"unshiftio","product":"unshiftio/url-parse","versions":[">= unspecified, < 1.5.7"]}],"affected":[{"ecosystem":"npm","package":"url-parse","vulnerableRanges":[">=1.0.0, <1.5.7"],"patched":["1.5.7"],"from":["GHSA-8v38-pw62-9cw2"],"provenance":"source"}],"summary":{"text":"The flaw is an authorization bypass through a user-controlled key in the url-parse NPM package (unshiftio/url-parse), affecting versions prior to 1.5.7. An attacker with network access and no authentication or user interaction required can exploit this by supplying a crafted key that the component uses for an authorization decision, bypassing the intended checks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:09Z"},"euvd":{"id":"EUVD-2022-0924","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unshiftio-url-parse-cve-2022-0639","children":[{"from":"CVE-2022-0639","to":"CVE-2022-0686","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.5.7","toFixed":"1.5.8","daysApart":3},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788","https://github.com/unshiftio/url-parse/commit/d5c64791ef496ca5459ae7f2176a31ea53b127e5"],"basis":"shared function","functions":["toString"]}]}],"packageHistory":[{"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,"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-0639","published":"2022-02-17","fixed":"1.5.7","kev":false},{"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"}}