CVE-2021-27515
5.3medium
Path traversal in url-parse
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.99% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9m6j-fcg5-2442
Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| url-parse (npm) | from 0.1.0 before 1.5.0 | GitHub Advisory Database |
| url-parse_project url-parse | before 1.5.0 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
NVD (es)
url-parse versiones anteriores a 1.5.0, maneja inapropiadamente determinados usos de la barra invertida como http:\/ e interpreta el URI como una ruta relativa
References
| https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0 | patch, third-party-advisory, web | |
| https://github.com/unshiftio/url-parse/pull/197 | patch, third-party-advisory, web | |
| https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0 | patch, third-party-advisory, web | |
| https://advisory.checkmarx.net/advisory/CX-2021-4306 | exploit, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html | mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-27515 | advisory | |
| https://github.com/github/advisory-database/pull/6763 | web | |
| https://github.com/unshiftio/url-parse | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27515 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9m6j-fcg5-2442 changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2021-27515 changed 2026-06-17 | Public domain |