ExcelJSに細工したExcelファイルを読み込ませるとメモリを使い果たし、アプリが停止する脆弱性
Summary
細工されたワークブックを読み込むと、画像の配置位置に過大な列番号が使われ、大量の列オブジェクトを確保してヒープのメモリ不足でアプリケーションが異常終了します。影響を受けるのはExcelJSの4.4.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.
細工されたワークブックを読み込むと、画像の配置位置に過大な列番号が使われ、大量の列オブジェクトを確保してヒープのメモリ不足でアプリケーションが異常終了します。影響を受けるのはExcelJSの4.4.0以前です。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| exceljsexceljs |
≤ 4.4.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
ExcelJS through 4.4.0 contains a memory exhaustion vulnerability that allows attackers to crash applications by supplying a workbook with an unbounded image anchor column in the drawing part. Attackers can set an anchor column such as 300000000 in xl/drawings/drawing1.xml so reading getImages() anchor positions makes Worksheet.getColumn allocate millions of Column objects and abort with a heap out-of-memory error.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com