fflate の unzipSync にメモリ破壊の脆弱性、攻撃コードが公開
Summary
fflate 0.8.3以前の unzipSync 関数に、メモリが壊れる脆弱性が見つかりました。遠隔から攻撃でき、攻撃コードはすでに公開されています。開発元は通知を受けても応答していないため、修正版は確認できていません。最新の情報を確認してください。
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.
fflate 0.8.3以前の unzipSync 関数に、メモリが壊れる脆弱性が見つかりました。遠隔から攻撃でき、攻撃コードはすでに公開されています。開発元は通知を受けても応答していないため、修正版は確認できていません。最新の情報を確認してください。
Original description The description as published by the source.
A weakness has been identified in 101arrowz fflate up to 0.8.3. This issue affects the function unzipSync of the file esm/index.mjs. This manipulation causes uncontrolled memory allocation. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. It is suggested to update the configuration settings. The maintainer disputes this issue as a vulnerability. The library is a pure JavaScript decompressor that allocates memory proportional to the decompressed payload size, which is expected behavior. Excessive allocations simply throw a standard JavaScript RangeError or reach engine heap limits. Furthermore, because a low-level decompression library cannot distinguish between a maliciously crafted compression bomb and a legitimate file with a high compression ratio, the API explicitly provides a filter option allowing callers to restrict decompressed file sizes and prevent denial-of-service according to their application's requirements, as seen both in the documentation and noted in the reported issue.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vuldb.com
- advisory vuldb.com
- advisory vuldb.com
- advisory nvd.nist.gov
- advisory github.com
- report vuldb.com
- report github.com
- web github.com
- web github.com
- web github.com
- web github.com