Resource Exhaustion Affecting nodejs-debugsource package, versions <1:18.20.4-1.amzn2023.0.1


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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJSDEBUGSOURCE-8381864
  • 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 nodejs-debugsource to version 1:18.20.4-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-766.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-debugsource package and not the nodejs-debugsource 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