Use After Free Affecting node package, versions [15.0.0,16.6.2)[13.0.0,14.17.5)[,12.22.5)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.36% (73rd 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-NODE-1540540
  • published12 Aug 2021
  • disclosed11 Aug 2021
  • creditUnknown

Introduced: 11 Aug 2021

CVE-2021-22940  (opens in a new tab)
CWE-416  (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 Use After Free on close http2 on stream canceling. An attacker might be able to exploit the memory corruption to change process behaviour.

The issue follows on from CVE-2021-22930 as the fix for it did not completely resolve the vulnerability.

CVSS Base Scores

version 3.1