Hostname Spoofing Affecting node package, versions [6.0.0, 6.15.0)[8.0.0, 8.14.0)[10.0.0, 10.14.0)[11.0.0, 11.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UPSTREAM-NODE-73602
  • published24 Jan 2019
  • disclosed28 Nov 2018
  • creditMartin Bajanik

Introduced: 28 Nov 2018

CVE NOT AVAILABLE CWE-115  (opens in a new tab)

How to fix?

Upgrade node to version 6.15.0, 8.14.0, 10.14.0, 11.3.0 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Hostname Spoofing. If a Node.js application is using url.parse() to determine the URL hostname, that hostname can be spoofed by using a mixed case "javascript:" (e.g. "javAscript:") protocol (other protocols are not affected). If security decisions are made about the URL based on the hostname, they may be incorrect.

CVSS Base Scores

version 3.1