Improper Input Validation Affecting npm8 package, versions <8.15.0-3.11.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.12% (49th percentile)

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-NPM8-2755375
  • published14 Apr 2022
  • disclosed18 Jan 2019

Introduced: 18 Jan 2019

CVE-2018-12123  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 npm8 to version 8.15.0-3.11.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm8 package and not the npm8 package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for javascript protocol: 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