Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| qax-os | excelize | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Qax-os | Excelize |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5h23-36rv-pm65 | Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.270% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Excelize
Excelize excelize |
|
| CPEs | cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:* | |
| Vendors & Products |
Excelize
Excelize excelize |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Qax-os
Qax-os excelize |
|
| Vendors & Products |
Qax-os
Qax-os excelize |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.8.0 to 2.11.0, GetStyle's fill, border, and font extraction predicates check only upper bounds for attacker-controlled style-table indices. File.GetStyle relies on extractStyleCondFuncs predicates that allow negative FillID, BorderID, and FontID values to reach slice indexing. When a crafted styles.xml supplies a negative fillId, borderId, or fontId and the application reads the style, a negative identifier passes the upper-bound-only predicate and becomes a negative slice index, allowing an attacker to panic while reading cell styling. No fixed version is available as of this review. | |
| Title | Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml | |
| Weaknesses | CWE-129 CWE-20 |
|
| References |
| |
| Metrics |
cvssV3_1
|