Resource Exhaustion Affecting nodejs:18/nodejs package, versions <1:18.20.4-1.module+el9.4.0+22195+c221878e


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-NODEJS-7882939
  • published3 Sept 2024
  • disclosed21 Mar 2024

Introduced: 21 Mar 2024

CVE-2024-28863  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:9 nodejs:18/nodejs to version 1:18.20.4-1.module+el9.4.0+22195+c221878e or higher.
This issue was patched in RHSA-2024:6147.

NVD Description

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

node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.

CVSS Scores

version 3.1