Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. url-parse
  4. ›
  5. CVE-2018-3774

CVE-2018-3774: URL Redirection to Untrusted Site (Open Redirect)

August 12, 2018 (updated October 9, 2019)

Incorrect parsing in url-parse returns the wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.

References

  • github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a
  • github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de
  • hackerone.com/reports/384029
  • nvd.nist.gov/vuln/detail/CVE-2018-3774

Code Behaviors & Features

Detect and mitigate CVE-2018-3774 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.3

Fixed versions

  • 1.4.3

Solution

Upgrade to version 1.4.3 or above.

Impact 10 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/url-parse/CVE-2018-3774.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.