Resource Exhaustion Affecting npm package, versions <1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878e


Severity

Recommended
0.0
medium
0
10

Based on CentOS 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 IDSNYK-CENTOS9-NPM-7884057
  • 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 Centos:9 npm to version 1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878e or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm package and not the npm package as distributed by Centos. See How to fix? for Centos: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