Use After Free Affecting nodejs-packaging package, versions <0:23-3.module+el8.5.0+733+de4fee6c


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.89% (84th 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-ROCKY8-NODEJSPACKAGING-3206434
  • published5 Jan 2023
  • disclosed16 Aug 2021

Introduced: 16 Aug 2021

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

How to fix?

Upgrade Rocky-Linux:8 nodejs-packaging to version 0:23-3.module+el8.5.0+733+de4fee6c or higher.
This issue was patched in RLSA-2021:3666.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-packaging package and not the nodejs-packaging package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Node.js before 16.6.1, 14.17.5, and 12.22.5 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