CVE-2021-27515
Path traversal in url-parse
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
CVE-2021-27515- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
CVE-2021-27515- Updated
- 2026-11-02
EUVDEUVD-2021-1029 No score
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
EUVD-2021-1029- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9m6j-fcg5-2442
5.3
Path traversal in url-parse
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
GHSA-9m6j-fcg5-2442- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-23
- Updated
- 2026-11-02
OSV
5.3
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
CVE-2021-27515- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-27515
5.3
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
DEBIAN-CVE-2021-27515- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-9m6j-fcg5-2442
5.3
Path traversal in url-parse
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
GHSA-9m6j-fcg5-2442- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-23
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-27515
5.3
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Record
UBUNTU-CVE-2021-27515- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1776904628 No score
TuxCare security update for url-parse (6 CVEs)
TuxCare rebuilt url-parse to address 6 CVEs. Fixed in 1.4.7-tuxcare.1.
- Record
CLSA-2026-1776904628- Updated
- 2026-11-02
OSVUSN-5973-1 No score
node-url-parse vulnerabilities
It was discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service, or to perform a server-side request forgery attack or open redirect attack. (CVE-2018-3774)
It was discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to bypass input validation. This issue was only fixed in Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-8124)
Yaniv Nizry discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service, or to perform a server-side request forgery attack or open redirect attack. This issue was only fixed in Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-27515)
It was discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service, or to perform a server-side request forgery attack or open redirect attack. This issue was only fixed in Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-3664)
It was discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to bypass authorization. This issue was only fixed in Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2022-0512, CVE-2022-0639, CVE-2022-0691)
Rohan Sharma discovered that url-parse incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to bypass authorization. This issue was only fixed in Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2022-0686)
- Record
USN-5973-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
url-parsenpm |
0.1.0 up to 1.5.0 | 1.5.0 |
url-parseTuxCare:npm From an advisory covering 6 CVEs |
1.4.7-tuxcare.0 up to 1.4.7-tuxcare.1, plus listed versions 1.4.7 |
1.4.7-tuxcare.1 |
node-url-parseDebian:12 |
before 1.5.1-1 | 1.5.1-1 |
node-url-parseDebian:13 |
before 1.5.1-1 | 1.5.1-1 |
node-url-parseDebian:14 |
before 1.5.1-1 | 1.5.1-1 |
node-url-parseDebian:10 From an advisory covering 6 CVEs |
before 1.2.0-2+deb10u2, plus listed versions 1.2.0-21.2.0-2+deb10u1 |
1.2.0-2+deb10u2 |
node-url-parseUbuntu:Pro:16.04:LTS |
before 1.0.5-2ubuntu0.1~esm2, plus listed versions 1.0.5-11.0.5-2 |
1.0.5-2ubuntu0.1~esm2 |
node-url-parseUbuntu:18.04:LTS |
before 1.2.0-1ubuntu0.1, plus listed versions 1.0.5-21.2.0-1 |
1.2.0-1ubuntu0.1 |
node-url-parseUbuntu:20.04:LTS |
before 1.4.7-3ubuntu0.1, plus listed versions 1.4.7-3 |
1.4.7-3ubuntu0.1 |
node-url-parseUbuntu:Pro:16.04:LTS From an advisory covering 8 CVEs |
before 1.0.5-2ubuntu0.1~esm2, plus listed versions 1.0.5-11.0.5-2 |
1.0.5-2ubuntu0.1~esm2 |
node-url-parseUbuntu:18.04:LTS From an advisory covering 8 CVEs |
before 1.2.0-1ubuntu0.1, plus listed versions 1.0.5-21.2.0-1 |
1.2.0-1ubuntu0.1 |
node-url-parseUbuntu:20.04:LTS From an advisory covering 8 CVEs |
before 1.4.7-3ubuntu0.1, plus listed versions 1.4.7-3 |
1.4.7-3ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-27515 is a medium vulnerability (CVSS 5.3) in Url-parse Project Url-parse, published February 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.96%, the 80th percentile. Fixed in url-parse 1.5.0.
References
github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0
github.com/unshiftio/url-parse/pull/197
github.com/unshiftio/url-parse/compare/1.4.7...1.5.0
advisory.checkmarx.net/advisory/CX-2021-4306
lists.debian.org/debian-lts-announce/2023/02/msg00030.html
nvd.nist.gov/vuln/detail/CVE-2021-27515
Show 14 moreShow less
github.com/github/advisory-database/pull/6763
github.com/advisories/GHSA-9m6j-fcg5-2442
security-tracker.debian.org/tracker/CVE-2021-27515
github.com/unshiftio/url-parse
ubuntu.com/security/CVE-2021-27515
ubuntu.com/security/notices/USN-5973-1
cve.org/CVERecord?id=CVE-2021-27515
ubuntu.com/security/CVE-2018-3774
ubuntu.com/security/CVE-2020-8124
ubuntu.com/security/CVE-2021-3664
ubuntu.com/security/CVE-2022-0512
ubuntu.com/security/CVE-2022-0639
ubuntu.com/security/CVE-2022-0686
ubuntu.com/security/CVE-2022-0691