Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics
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-8jjq-8j9w-m2v6 | Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.309% 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.10.1 to 2.11.0, RIGHT validates the requested length with UTF-16 code-unit counts but slices a rune array using Unicode code-point counts. RIGHT reaches leftRight through CalcCellValue, where countUTF16String validates one unit but utf8.RuneCountInString supplies the slice index in another. When RIGHT evaluates supplementary-plane text with a requested character count between the rune count and UTF-16 code-unit count, the inconsistent units produce a negative rune-slice index, allowing an attacker to panic during formula evaluation. No fixed version is available as of this review. | |
| Title | Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics | |
| Weaknesses | CWE-129 | |
| References |
| |
| Metrics |
cvssV3_1
|