CVE-2024-28863
MEDIUM 6.5CVSS 3.1Denial of service while parsing a tar file due to lack of folders count validation
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.
- Published
- 21 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-f5x3-32g6-xq36
- Sources
- NVDJSONOSV GHSA-f5x3-32g6-xq36JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | isaacs | tarcpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* |
< 6.2.1 | 6.2.1 |
| OSV | npm | node-tar | < 6.2.1 | 6.2.1 |
| OSV | npm | tar | < 6.2.1 | 6.2.1 |
References
- https://github.com/isaacs/node-tar/commit/fe8cd57da5686f8695415414bda49206a545f7f7 · Patch, WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36 · Exploit, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240524-0005/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28863 · ADVISORY
- https://github.com/isaacs/node-tar · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Mar 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Mar 2024)