GitHub Advisoryadvisory · npm
GHSA-pv4c-p2j5-38j4 Open Redirect in url-parse
CRITICAL
Official page ↗
- Aliases
- CVE-2018-3774
- Ecosystem
- npm
- Packages
- url-parse
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-425
- Reviewed
- 2020-06-16
Affected packages
• npm url-parse: >= 1.0.0, < 1.4.3 → fixed in 1.4.3
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.
Related
Alias · CVE (1)
- CVE-2018-3774 Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass… vulnerability
Weakness · CWE (1)
- CWE-425 Direct Request weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-3774 advisory
- https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2 web
- https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a web
- https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de web
- https://hackerone.com/reports/384029 web
- https://github.com/unshiftio/url-parse package
- https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0 web