VDB
CVE-2021-27515
CVE-2021-27515
PUBLISHED
CVSS 5.300000190734863 MEDIUM
Path traversal in url-parse
Reported by mitre · Published February 21, 2021
url-parse is fixed in 1.5.0 (npm)
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
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.0 |
| node-url-parse | Ubuntu:20.04:LTS | 1.4.7-3ubuntu0.1 |
| node-url-parse | Ubuntu:Pro:16.04:LTS | 1.0.5-2ubuntu0.1~esm2 |
| node-url-parse | Ubuntu:18.04:LTS | 1.2.0-1ubuntu0.1 |
| url-parse | url-parse_project | 1.5.0 |
Risk scores
CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| npm | url-parse | 0.1.0 |
| n/a | n/a | * |
Timeline
- Feb 21, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 3, 2026 CVE Updated
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-27515
vulnetix vdb fixes CVE-2021-27515
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/CVE-2021-27515/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20230223 [SECURITY] [DLA 3336-1] node-url-parse security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2021-27515 advisory
- https://github.com/advisories/GHSA-9m6j-fcg5-2442 advisory
- https://github.com/github/advisory-database/pull/6763 advisory
- https://github.com/unshiftio/url-parse url