Infinite loop Affecting node package, versions [12.0.0,12.22.11)[14.0.0,14.19.1)[16.0.0,16.14.2)[17.0.0,17.7.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
5.46% (94th 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-5811867
  • published16 Mar 2022
  • disclosed15 Mar 2022
  • creditUnknown

Introduced: 15 Mar 2022

CVE-2022-0778  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade node to version 12.22.11, 14.19.1, 16.14.2, 17.7.2 or higher.

Overview

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

Affected versions of this package are vulnerable to Infinite loop via the BN_mod_sqrt() function when parsing certificates. It is possible to trigger this vulnerability by crafting a certificate that has invalid explicit curve parameters. Since certificate parsing happens before verification of the certificate signature, any process that parses an externally supplied certificate may be subject to a denial of service attack.

CVSS Base Scores

version 3.1