ExcelJSに細工したExcelファイルで一時ファイルが溜まり資源を枯渇させられる脆弱性
Summary
ExcelJSの4.4.0までには、ストリーミング方式で読み込む際に一時ファイルとファイル記述子が解放されない脆弱性があります。不正な複数シートのExcelファイルを繰り返しアップロードされると、一時ディレクトリが埋まりファイル記述子が枯渇するおそれがあります。CVSSはv3.1で7.5、v4.0で8.7です。修正版の情報は確認できていないため、最新の情報を確認してください。
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までには、ストリーミング方式で読み込む際に一時ファイルとファイル記述子が解放されない脆弱性があります。不正な複数シートのExcelファイルを繰り返しアップロードされると、一時ディレクトリが埋まりファイル記述子が枯渇するおそれがあります。CVSSはv3.1で7.5、v4.0で8.7です。修正版の情報は確認できていないため、最新の情報を確認してください。
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 leak vulnerability in the streaming WorkbookReader.parse that leaves temporary files and open descriptors when sheet parsing fails or iteration stops early. Attackers can repeatedly upload malformed multi-sheet workbooks with worksheets placed before xl/sharedStrings.xml to fill the temporary directory and exhaust file descriptors.
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