Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt. When a number format has...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libspreadsheet-xlsx-perl |
< 0.18-1ubuntu0.26.10.1→ 0.18-1ubuntu0.26.10.1 |
0.18-1ubuntu0.26.10.1 |
| Ubuntu:26.04:LTSlibspreadsheet-xlsx-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlibspreadsheet-xlsx-perl |
< 0.15-1ubuntu0.16.04.1~esm1→ 0.15-1ubuntu0.16.04.1~esm1 |
0.15-1ubuntu0.16.04.1~esm1 |
| Ubuntu:Pro:18.04:LTSlibspreadsheet-xlsx-perl |
< 0.15-1ubuntu0.18.04.1~esm1→ 0.15-1ubuntu0.18.04.1~esm1 |
0.15-1ubuntu0.18.04.1~esm1 |
| Ubuntu:Pro:20.04:LTSlibspreadsheet-xlsx-perl |
< 0.15-2ubuntu0.1~esm1→ 0.15-2ubuntu0.1~esm1 |
0.15-2ubuntu0.1~esm1 |
| Ubuntu:Pro:22.04:LTSlibspreadsheet-xlsx-perl |
< 0.17-1ubuntu0.22.04.1~esm1→ 0.17-1ubuntu0.22.04.1~esm1 |
0.17-1ubuntu0.22.04.1~esm1 |
| Ubuntu:Pro:24.04:LTSlibspreadsheet-xlsx-perl |
< 0.17-1ubuntu0.24.04.1~esm1→ 0.17-1ubuntu0.24.04.1~esm1 |
0.17-1ubuntu0.24.04.1~esm1 |
| Ubuntu:Pro:26.04:LTSlibspreadsheet-xlsx-perl |
< 0.18-1ubuntu0.26.04.1~esm1→ 0.18-1ubuntu0.26.04.1~esm1 |
0.18-1ubuntu0.26.04.1~esm1 |
Original description The description as published by the source.
Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt. When a number format has a condition such as [>100], ExcelFmt chooses the format section by passing the condition and the cell value to a string eval. Both come from the workbook, and the eval runs while Spreadsheet::XLSX->new parses it. An attacker who supplies an XLSX file can run arbitrary Perl code.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org
- report metacpan.org
- report openwall.com