Improper Input Validation Affecting node package, versions [15.0.0,16.6.2)[13.0.0,14.17.5)[,12.22.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UPSTREAM-NODE-1540538
  • published12 Aug 2021
  • disclosed11 Aug 2021
  • creditPhilipp Jeitner of Fraunhofer SIT

Introduced: 11 Aug 2021

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

How to fix?

Upgrade node to version 16.6.2, 14.17.5, 12.22.5 or higher.

Overview

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

Affected versions of this package are vulnerable to Improper Input Validation due to missing input validation of host names returned by Domain Name Servers in the Node.js DNS library. It could lead to the output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

NOTE: This vulnerability has also been identified as: CVE-2021-3672

CVSS Scores

version 3.1