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 までの版では、xlsx ファイルを展開する際にサイズや圧縮率の上限がなく、高度に圧縮されたファイルを読み込むとメモリを数ギガバイトまで消費されるおそれがあります。細工されたファイルを受け付ける環境では、サービス妨害(DoS)の攻撃を受ける可能性があります。修正版の有無など最新の情報を確認してください。
exceljs-hardenedにおいて、提供されたxlsxアーカイブのエントリを無制限でメモリに解凍する脆弱性です。
exceljs-hardenedのバージョン5.0.0以前
この脆弱性は、リソース枯渇を引き起こし、サービス拒否攻撃を可能にするため、高いリスクがあります。
この脆弱性を修正するには、バージョン5.0.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 decompresses all entries from supplied xlsx archives into memory without limits on entry size, total size, or compression ratio. Attackers can upload highly compressed workbooks that expand to gigabytes in memory, exhausting available resources and causing denial of service.
Source: NIST National Vulnerability Database 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 npmjs.com