node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation
Summary
node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-28863 node-tar Fixed in: 6.0.5+ds1+~cs11.3.9-1+deb11u3
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- patch github.com