PhpSpreadsheet のODS読み込みで細工ファイルによりサービス停止の恐れ
Summary
PhpSpreadsheet のODSリーダーに、行の繰り返し数を制限しない不具合が見つかりました。細工したODSファイルを読み込ませると、大量のCPUとメモリを消費してPHPの処理が停止するおそれがあります。1.30.7、2.1.19、2.4.8、3.10.8、5.10.0 以降の修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PhpSpreadsheet のODSリーダーに、行の繰り返し数を制限しない不具合が見つかりました。細工したODSファイルを読み込ませると、大量のCPUとメモリを消費してPHPの処理が停止するおそれがあります。1.30.7、2.1.19、2.4.8、3.10.8、5.10.0 以降の修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PHPOfficePhpSpreadsheet | — | Not listed |
| composerphpoffice/phpspreadsheet |
< 1.30.7→ 1.30.7 |
1.30.7 |
| Packagistphpoffice/phpspreadsheet |
< 1.30.7→ 1.30.7 |
1.30.7 |
Original description The description as published by the source.
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0, Ods::processTableRow in src/PhpSpreadsheet/Reader/Ods.php accepts an unbounded table:number-rows-repeated attribute from an ODS table row. When the row contains a value, the reader materializes a cell for every repetition without checking the spreadsheet row limit, so a small attacker-controlled ODS file can consume substantial CPU and memory and terminate the PHP worker. Column repetition is separately bounded and is not part of this vulnerability. This issue is fixed in versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com