VDB
GHSA-jf5r-8hm2-f872
GHSA-jf5r-8hm2-f872
PUBLISHED
CVSS 6.5 MEDIUM
Record from GitHub Advisory Database · Published February 22, 2022
url-parse is fixed in 1.5.9 (npm)
url-parse incorrectly parses hostname / protocol due to unstripped leading control characters.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| url-parse | npm | 1.5.9 |
Risk scores
CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | url-parse | 0.1.0 |
Timeline
- Feb 22, 2022 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-jf5r-8hm2-f872
vulnetix vdb fixes GHSA-jf5r-8hm2-f872
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-jf5r-8hm2-f872/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0691 advisory
- https://github.com/unshiftio/url-parse/commit/0e3fb542d60ddbf6933f22eb9b1e06e25eaa5b63 url
- https://huntr.dev/bounties/57124ed5-4b68-4934-8325-2c546257f2e4 url
- https://security.netapp.com/advisory/ntap-20220325-0006 url
- https://github.com/github/advisory-database/pull/6765 url
- https://github.com/unshiftio/url-parse package
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html url