GitHub Advisoryadvisory · npm
GHSA-9m6j-fcg5-2442 Path traversal in url-parse
MEDIUM
Official page ↗
- Aliases
- CVE-2021-27515
- Ecosystem
- npm
- Packages
- url-parse
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-23
- Reviewed
- 2021-03-22
Affected packages
• npm url-parse: >= 0.1.0, < 1.5.0 → fixed in 1.5.0
Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Related
Alias · CVE (1)
- CVE-2021-27515 url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path. vulnerability
Weakness · CWE (1)
- CWE-23 Relative Path Traversal weakness
References
- 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/pull/197 web
- https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0 web
- https://advisory.checkmarx.net/advisory/CX-2021-4306 web
- https://github.com/unshiftio/url-parse package
- https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0 web
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html web