MEDIUM5.3
GHSA-9m6j-fcg5-2442
Path traversal in url-parse
Quick fix
GHSA-9m6j-fcg5-2442 — url-parse: upgrade to the fixed version with the command below.
npm install url-parse@1.5.0Details
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]