CVE-2021-27515
MEDIUM5.3EPSS 0.14%Path traversal in url-parse
Published: 5/6/2021Modified: 4/28/2026
Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Affected packages (3)
- Debian/node-url-parsefrom 0, < 1.5.1-1
- Debian/node-url-parsefrom 0, < 1.2.0-2+deb10u2
- npm/url-parse>= 0.1.0, < 1.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-27515
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-27515
- PATCHhttps://github.com/unshiftio/url-parse
- WEBhttps://advisory.checkmarx.net/advisory/CX-2021-4306
- WEBhttps://github.com/github/advisory-database/pull/6763
- WEBhttps://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0
- WEBhttps://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0
- WEBhttps://github.com/unshiftio/url-parse/pull/197
- WEBhttps://lists.debian.org/debian-lts-announce/2023/02/msg00030.html