CVE-2018-3774
Npm vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Npm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Npm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2018-3774
- github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a
- hackerone.com/reports/384029
- github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de
- github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2
- github.com/unshiftio/url-parse/compare/0.2.3...1.0.0
- github.com/advisories/GHSA-pv4c-p2j5-38j4
- nvd.nist.gov/vuln/detail/CVE-2018-3774
- cve.org/CVERecord?id=CVE-2018-3774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.