unshiftio/url-parse · Security
Path traversal in url-parse
- GHSA ID
- GHSA-9m6j-fcg5-2442
- CVE ID
- CVE-2021-27515
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
CWEs
- CWE-23 · Relative Path Traversal
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-27515 ↗
- https://github.com/unshiftio/url-parse/pull/197 ↗
- https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0 ↗
- https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0 ↗
- https://advisory.checkmarx.net/advisory/CX-2021-4306 ↗
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html ↗
- https://github.com/github/advisory-database/pull/6763 ↗
- https://github.com/advisories/GHSA-9m6j-fcg5-2442 ↗