Affected versions
npmurl-parse
- Affected versions
- >= 1.0.0, < 1.4.3
- Fixed version
- 1.4.3
Exploitation
Description
Versions of url-parse before 1.4.3 returns the wrong hostname which could lead to Open Redirect, Server Side Request Forgery (SSRF), or Bypass Authentication Protocol vulnerabilities.
Recommendation
Update to version 1.4.3 or later.
Links
- https://github.com/advisories/GHSA-pv4c-p2j5-38j4
- https://github.com/unshiftio/url-parse
- https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2
- https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a
- https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de
- https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0
- https://hackerone.com/reports/384029
- https://nvd.nist.gov/vuln/detail/CVE-2018-3774
Credits
- ljharb

