Improper Input Validation Affecting nodejs-current package, versions <11.3.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (48th 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 IDSNYK-ALPINE321-NODEJSCURRENT-8487866
  • published6 Dec 2024
  • disclosed28 Nov 2018

Introduced: 28 Nov 2018

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

How to fix?

Upgrade Alpine:3.21 nodejs-current to version 11.3.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-current package and not the nodejs-current package as distributed by Alpine. See How to fix? for Alpine:3.21 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 Scores

version 3.1