ExcelJSに細工したxlsxファイルでプロトタイプ汚染の脆弱性
Summary
ExcelJSの4.4.0以前には、x14:cfRule要素のidに__proto__を指定できる脆弱性があります。細工したxlsxファイルをxlsx.load()で読み込むと、Object.prototypeが書き換えられ、再起動するまでプロセス内のすべてのオブジェクトに影響が及ぶおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
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以前には、x14:cfRule要素のidに__proto__を指定できる脆弱性があります。細工したxlsxファイルをxlsx.load()で読み込むと、Object.prototypeが書き換えられ、再起動するまでプロセス内のすべてのオブジェクトに影響が及ぶおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
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 prototype pollution vulnerability in mergeConditionalFormattings that allows attackers to modify Object.prototype by supplying an x14:cfRule id of proto. Attackers can craft an xlsx file that, when loaded with xlsx.load(), sets properties such as type, direction, border and cfvo on every object in the process until it restarts.
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