npmWorst: Critical8 advisories

url-parse: known vulnerabilities

url-parse has 8 reviewed security advisories in the GitHub Advisory Database — 2 critical, 6 moderate. The most recent was published 2022-02-21. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the url-parse versions running across your servers, containers and images, and ranks what to patch first.

How to fix url-parse

Upgrade url-parse to a release at or above the fixed version shown for each advisory below. For npm:

npm install url-parse@1.5.9 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (8)

url-parse incorrectly parses hostname / protocol due to unstripped leading control characters. Moderate 6.5 CWE-639 — Affected: from 0.1.0 up to 1.5.9. Fixed in 1.5.9. Published 2022-02-21. GHSA-jf5r-8hm2-f872 · CVE-2022-0691
Authorization Bypass Through User-Controlled Key in url-parse Critical 9.1 CWE-639 — Affected: before 1.5.8. Fixed in 1.5.8. Published 2022-02-20. GHSA-hgjh-723h-mx2j · CVE-2022-0686
url-parse Incorrectly parses URLs that include an '@' Moderate 6.5 CWE-639 — Affected: from 1.0.0 up to 1.5.7. Fixed in 1.5.7. Published 2022-02-17. GHSA-8v38-pw62-9cw2 · CVE-2022-0639
Authorization bypass in url-parse Moderate 5.3 CWE-639 — Affected: from 0.1.0 up to 1.5.6. Fixed in 1.5.6. Published 2022-02-14. GHSA-rqff-837h-mm52 · CVE-2022-0512
Open redirect in url-parse Moderate 6.1 CWE-601 — Affected: from 0.1.0 up to 1.5.2. Fixed in 1.5.2. Published 2021-07-26. GHSA-hh27-ffr2-f2jc · CVE-2021-3664
Improper Validation and Sanitization in url-parse Moderate 5.3 CWE-20 — Affected: from 0.1.0 up to 1.4.5. Fixed in 1.4.5. Published 2020-02-04. GHSA-46c4-8wrp-j99v · CVE-2020-8124
Open Redirect in url-parse Critical 10.0 CWE-425 — Affected: from 1.0.0 up to 1.4.3. Fixed in 1.4.3. Published 2018-08-13. GHSA-pv4c-p2j5-38j4 · CVE-2018-3774

Find url-parse across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.