Resource Exhaustion Affecting nodejs20-npm package, versions <1:10.8.2-1.20.18.0.1.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon 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 IDSNYK-AMZN2023-NODEJS20NPM-8381984
  • published15 Nov 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 Amazon-Linux:2023 nodejs20-npm to version 1:10.8.2-1.20.18.0.1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2024-768.

NVD Description

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