Description
exceljs through 4.4.0 decompresses all entries from supplied xlsx archives into memory without limits on entry size, total size, or compression ratio. Attackers can upload highly compressed workbooks that expand to gigabytes in memory, exhausting available resources and causing denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
exceljs exceljs
Default version status: unaffected
0 to ≤ 4.4.0affected
pkg:npm/exceljsReferences
- https://github.com/exceljs/exceljs ↗
- https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-7cvf-3r55-r39q ↗
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xlsx.js#L257-L281 ↗
- https://www.vulncheck.com/advisories/exceljs-through-uncontrolled-resource-consumption-via-unbounded-xlsx-decompression ↗