Improper Input Validation Affecting rh-nodejs14-nodejs package, versions <0:14.17.5-1.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.02% (92nd 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-RHEL7-RHNODEJS14NODEJS-4815578
  • published17 Aug 2021
  • disclosed11 Aug 2021

Introduced: 11 Aug 2021

CVE-2021-22931  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-nodejs14-nodejs to version 0:14.17.5-1.el7 or higher.
This issue was patched in RHSA-2021:3280.

NVD Description

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

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

CVSS Scores

version 3.1