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)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.44% (75th percentile)
Expand this section
NVD
5.3 medium
Expand this section
SUSE
5.9 medium
Expand this section
Red Hat
7.4 high

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 ID SNYK-UPSTREAM-NODE-2332191
  • published 12 Jan 2022
  • disclosed 11 Jan 2022
  • credit Google

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.