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.

PackageEcosystemFixed in
url-parsenpm1.5.0
node-url-parseUbuntu:20.04:LTS1.4.7-3ubuntu0.1
node-url-parseUbuntu:Pro:16.04:LTS1.0.5-2ubuntu0.1~esm2
node-url-parseUbuntu:18.04:LTS1.2.0-1ubuntu0.1
url-parseurl-parse_project1.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

VendorProductVersions
n/an/an/a
npmurl-parse0.1.0
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›