Description
exceljs through 4.4.0 contains a denial of service vulnerability that allows attackers to block the event loop by supplying unbounded row r attributes parsed in row-xform.js. Attackers can craft an XLSX file with a row numbered far beyond Excel's limit, making getSheetValues(), workbook writes and CSV export consume time proportional to that number.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| exceljs | exceljs | ≤ 4.4.0 | — |
References
- https://github.com/exceljs/exceljs product
- GitHub Security Advisory (GHSA-3gm5-qxj8-89rr) third-party-advisory
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/row-xform.js#L73-L77 technical-description
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/worksheet.js#L886-L893 technical-description
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/worksheet.js#L571-L580 technical-description
- VulnCheck Advisory: ExcelJS through 4.4.0 Denial of Service via Oversized Row Number third-party-advisory