Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-tar
  4. ›
  5. CVE-2024-28863

CVE-2024-28863: Denial of service while parsing a tar file due to lack of folders count validation

March 22, 2024

Denial of service by crashing the nodejs client when attempting to parse a tar archive, make it run out of heap memory and consuming server CPU and memory resources

References

  • github.com/advisories/GHSA-f5x3-32g6-xq36
  • github.com/isaacs/node-tar
  • github.com/isaacs/node-tar/commit/fe8cd57da5686f8695415414bda49206a545f7f7
  • github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36
  • nvd.nist.gov/vuln/detail/CVE-2024-28863

Code Behaviors & Features

Detect and mitigate CVE-2024-28863 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.2.1

Fixed versions

  • 6.2.1

Solution

Upgrade to version 6.2.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/node-tar/CVE-2024-28863.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.