Use After Free Affecting nodejs:12/npm package, versions <1:6.14.14-1.12.22.5.1.module+el8.2.0+12241+a3db445b


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.51% (77th 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-RHEL8-NODEJS-3995092
  • published31 Jul 2021
  • disclosed29 Jul 2021

Introduced: 29 Jul 2021

CVE-2021-22930  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:8 nodejs:12/npm to version 1:6.14.14-1.12.22.5.1.module+el8.2.0+12241+a3db445b or higher.
This issue was patched in RHSA-2021:3638.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:12/npm package and not the nodejs:12/npm package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.

CVSS Scores

version 3.1