Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Recommendation
Update the url-parse package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.5.0
- Patched version(s): 1.5.0
References
- GHSA-9m6j-fcg5-2442
- advisory.checkmarx.net
- lists.debian.org
- CVE-2021-27515
- CWE-23
- CAPEC-310
- OWASP 2021-A1
- OWASP 2021-A6
Related Issues
- Code Injection in node-rules - CVE-2020-7609
- url-parse Incorrectly parses URLs that include an '@ - CVE-2022-0639
- Denial of Service in jquery - CVE-2016-10707
- Command Injection in lodash - CVE-2021-23337
- Tags:
- npm
- url-parse
Anything's wrong? Let us know Last updated on February 23, 2023