Improper Certificate Validation Affecting node package, versions [,12.22.9)[14.0.0,14.18.3)[16.0.0,16.13.2)[17.0.0,17.3.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.41% (74th 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-UPSTREAM-NODE-2332191
  • published12 Jan 2022
  • disclosed11 Jan 2022
  • creditGoogle

Introduced: 11 Jan 2022

CVE-2021-44532  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade node to version 12.22.9, 14.18.3, 16.13.2, 17.3.1 or higher.

Overview

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

Affected versions of this package are vulnerable to Improper Certificate Validation via string injection. Node.js converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints.

CVSS Base Scores

version 3.1