Excelize
Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-400
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
qax-os excelize
- < 2.11.0
Fixed in 2.11.0
Mitigation
Upgrade excelize to 2.11.0 or later.
References
- Vendor advisory github.com/qax-os/excelize/security/advisories…
- Patch github.com/qax-os/excelize/pull/2331
- Patch github.com/qax-os/excelize/commit/93f0b3caed37…
1 more
- Release notes github.com/qax-os/excelize/releases/tag/v2.11.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.