ExcelJSに細工したExcelファイルを読み込むとサービス妨害を受ける脆弱性
Summary
ExcelJSの4.4.0までには、データの入力規則の範囲指定を細工したファイルを読み込むと、CPUとメモリを使い尽くしてプロセスが停止する脆弱性があります。小さなファイルでも大量の範囲を処理させられるため、ファイルを受け付けるサービスでは注意が必要です。修正版の有無は公表されていないため、最新の情報を確認してください。
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までには、データの入力規則の範囲指定を細工したファイルを読み込むと、CPUとメモリを使い尽くしてプロセスが停止する脆弱性があります。小さなファイルでも大量の範囲を処理させられるため、ファイルを受け付けるサービスでは注意が必要です。修正版の有無は公表されていないため、最新の情報を確認してください。
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 resource exhaustion vulnerability in data-validations-xform.js that allows attackers to exhaust CPU and memory by supplying unbounded sqref ranges. Attackers can provide a small crafted workbook with a sqref of A1:XFD1048576 to make xlsx.load() iterate billions of addresses, blocking the event loop and crashing the process with an uncatchable 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
- report github.com
- web github.com
- web github.com