USN-9299-1: Spreadsheet::XLSX vulnerability
It was discovered that Spreadsheet::XLSX evaluated conditions in number formats as Perl code when parsing workbooks. If a user or automated system were tricked into opening a specially crafted XLSX file, an attacker could possibly use this issue to execute arbitrary code.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libspreadsheet-xlsx-perlto a version that resolves this vulnerability.Fixed in 0.18-1ubuntu0.26.10.1 - Upgrade
Upgrade
ubuntu/libspreadsheet-xlsx-perlto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libspreadsheet-xlsx-perlto a version that resolves this vulnerability.Fixed in 0.15-1ubuntu0.16.04.1~esm1
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using the Ubuntu libspreadsheet-xlsx-perl package are exposed when a user or an automated process opens or parses an attacker-crafted XLSX workbook.
What must an attacker do to exploit it?
The attacker needs to provide a specially crafted XLSX file and have it opened or parsed by the affected Spreadsheet::XLSX component. The crafted workbook uses number-format conditions that are evaluated as Perl code.
Are automated workbook-processing workflows at risk?
Yes. The issue can affect automated systems if they parse untrusted XLSX files using the affected package, even without a person manually opening the workbook.