Description (CNA)
fflate through 0.8.2 is vulnerable to denial of service via an infinite loop in unzipSync(). A crafted ZIP archive with a central directory entry declaring compressed_size=0xFFFFFFFF (ZIP64 sentinel) but missing the required ZIP64 extra field tag 0x0001 causes z64e() to loop indefinitely due to out-of-bounds reads returning undefined, which coerces to 0, keeping the loop condition permanently true.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| 101arrowz / fflate | affected 0.4.5 through 0.4.8; affected 0.5.0 through 0.5.3; affected 0.6.0 through 0.6.10; affected 0.7.0 through 0.7.4; affected 0.8.0 through 0.8.2 |
CWE
CWE-835, CWE-400
References
- https://github.com/101arrowz/fflate/blob/f7873560ad229c22c4b23b06c6a3806ffde77569/src/index.ts#L2714
- https://www.npmjs.com/package/fflate
ADP enrichment
No English description supplied.
No references supplied.