Improper Input Validation Affecting rh-nodejs8-npm package, versions <0:5.6.0-8.11.4.1.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.86% (89th 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-RHEL7-RHNODEJS8NPM-4739120
  • published1 Nov 2021
  • disclosed8 Mar 2018

Introduced: 8 Mar 2018

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

How to fix?

Upgrade RHEL:7 rh-nodejs8-npm to version 0:5.6.0-8.11.4.1.el7 or higher.
This issue was patched in RHSA-2018:2949.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-nodejs8-npm package and not the rh-nodejs8-npm package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.

CVSS Scores

version 3.1