cve/2024/CVE-2024-28863.md
2024-05-25 21:48:12 +02:00

20 lines
1.2 KiB
Markdown

### [CVE-2024-28863](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28863)
![](https://img.shields.io/static/v1?label=Product&message=node-tar&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%206.2.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-770%3A%20Allocation%20of%20Resources%20Without%20Limits%20or%20Throttling&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36
#### Github
- https://github.com/NaInSec/CVE-LIST
- https://github.com/efrei-ADDA84/20200689