Every CVE Search/ Get API key

CVE-2021-27515

Path traversal in url-parse

5.3 MediumFix available

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

1.96%Up 0.9 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
5.0 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
url-parse
npm
0.1.0 up to 1.5.0
1.5.0
url-parse
TuxCare: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-parse
Debian:12
before 1.5.1-1
1.5.1-1
node-url-parse
Debian:13
before 1.5.1-1
1.5.1-1
node-url-parse
Debian:14
before 1.5.1-1
1.5.1-1
node-url-parse
Debian: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-parse
Ubuntu: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-parse
Ubuntu: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-parse
Ubuntu:20.04:LTS
before 1.4.7-3ubuntu0.1, plus listed versions
1.4.7-3
1.4.7-3ubuntu0.1
node-url-parse
Ubuntu: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-parse
Ubuntu: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-parse
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 14 moreShow less
MoveEnter Open