Description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, the streaming worksheet reader used by Rows and GetRows does not enforce the TotalRows limit on the row r attribute, allowing a small XLSX file with a row number above 1048576 and no cell coordinate to make GetRows append empty rows up to the attacker-controlled index and consume excessive memory and CPU. This issue is fixed in version 2.11.0.
Problem types
CWE-400: Uncontrolled Resource Consumption
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...celize/security/advisories/GHSA-q5j5-6p94-4gwc
github.com/...celize/security/advisories/GHSA-q5j5-6p94-4gwc
github.com/qax-os/excelize/pull/2331
github.com/...ommit/93f0b3caed37f21ef5079e3259c6c21dcfe68453
github.com/qax-os/excelize/releases/tag/v2.11.0