Excelize
Excelize: Negative shared-string index causes panic in GetCellValue and GetRows
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. This issue is fixed in version 2.11.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-248
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.