CVE-2024-28863 MEDIUM

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

Vendor Isaacs
Product node-tar
Weakness CWE-400
Published March 21, 2024
Last update February 13, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 21, 2024 CVE published
February 13, 2025 Record updated