Description (CNA)
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.8.1 to 2.11.0, separately parsed pivot-table field indices are used to index the pivot-cache field-name slice without bounds checks. extractPivotTableFields uses getPivotCacheFieldsName output while processing GetPivotTables and trusts the dataField fld attribute as an index. When a crafted workbook supplies a pivot-field count mismatch or an out-of-range dataField fld value before GetPivotTables is called, the unchecked index causes a Go slice-bounds panic that escapes the library, allowing an attacker to crash the process or request worker. No fixed version is available as of this review.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| qax-os / excelize | affected >= 2.8.1, <= 2.11.0 |
CWE
CWE-129
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-mx22-3794-2vpv
- https://github.com/qax-os/excelize/pull/2435
- https://github.com/qax-os/excelize/commit/6258dcebc4e2a2aed985c38a08098dfd908521d1
ADP enrichment
No English description supplied.
No references supplied.