{"id":"CVE-2022-0686","published":"2022-02-20T00:00:00Z","modified":"2024-08-02T23:40:03Z","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.8.","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.01827,"percentile":0.79359,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://huntr.dev/bounties/55fd06cd-9054-4d80-83be-eb5a454be78c","tags":[]},{"url":"https://github.com/unshiftio/url-parse/commit/d5c64791ef496ca5459ae7f2176a31ea53b127e5","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0006/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.87},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"unshiftio","affectedVersions":[{"vendor":"unshiftio","product":"unshiftio/url-parse","versions":[">= unspecified, < 1.5.8"]}],"affected":[{"ecosystem":"npm","package":"url-parse","vulnerableRanges":["<1.5.8"],"patched":["1.5.8"],"from":["GHSA-hgjh-723h-mx2j"],"provenance":"source"}],"summary":{"text":"The flaw is an authorization bypass through a user-controlled key in the url-parse package (unshiftio/url-parse), an NPM library for parsing URLs. The issue affects versions prior to 1.5.8. An attacker with network access can exploit this without authentication, requiring no user interaction and no special configuration, to bypass authorization checks by supplying a crafted key. The reported impact is limited to partial loss of confidentiality and integrity, with no availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:16Z"},"euvd":{"id":"EUVD-2022-1044","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unshiftio-url-parse-cve-2022-0639","parents":[{"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-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},{"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,"link":{"from":"CVE-2022-0686","to":"CVE-2022-0691","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:url-parse","fromFixed":"1.5.8","toFixed":"1.5.9","daysApart":1},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/unshiftio/url-parse/commit/d5c64791ef496ca5459ae7f2176a31ea53b127e5","https://github.com/unshiftio/url-parse/commit/0e3fb542d60ddbf6933f22eb9b1e06e25eaa5b63"],"basis":"shared file"}]}}],"package":"npm:url-parse"}}