CVE-2022-0639
MEDIUM 5.3CVSS 3.1url-parse Incorrectly parses URLs that include an '@'
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.
- Published
- 17 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-639
- Also known as
- GHSA-8v38-pw62-9cw2
- Sources
- NVDJSONOSV GHSA-8v38-pw62-9cw2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | url-parse_project | url-parsecpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:* |
< 1.5.7 | 1.5.7 |
| OSV | npm | url-parse | >= 1.0.0, < 1.5.7 | 1.5.7 |
References
- https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html · WEB
- https://lists.debian.org/debian-lts-announce/2025/12/msg00024.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0639 · ADVISORY
- https://github.com/unshiftio/url-parse · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Feb 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Feb 2022)