Affected versions
npmurl-parse
- Affected versions
- >= 0.1.0, < 1.5.0
- Fixed version
- 1.5.0
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
Links
- https://advisory.checkmarx.net/advisory/CX-2021-4306
- https://github.com/advisories/GHSA-9m6j-fcg5-2442
- https://github.com/github/advisory-database/pull/6763
- https://github.com/unshiftio/url-parse
- https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0
- https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0
- https://github.com/unshiftio/url-parse/pull/197
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-27515
Credits
- ljharb

