Stoatchatに未認証の攻撃で大量のメモリを消費させられる脆弱性
Summary
Stoatchatの0.16.5より前の版には、JXL画像のデコード処理に上限がない脆弱性があります。認証なしの攻撃者が、小さなJXLファイルで巨大な画像サイズを宣言して/proxyに要求すると、januaryがメモリ不足で停止し、プロキシと埋め込みの機能が使えなくなるおそれがあります。修正版の0.16.5で対応できます。
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.
Stoatchatの0.16.5より前の版には、JXL画像のデコード処理に上限がない脆弱性があります。認証なしの攻撃者が、小さなJXLファイルで巨大な画像サイズを宣言して/proxyに要求すると、januaryがメモリ不足で停止し、プロキシと埋め込みの機能が使えなくなるおそれがあります。修正版の0.16.5で対応できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| stoatchatstoatchat |
< 0.16.5→ 0.16.5 |
0.16.5 |
Original description The description as published by the source.
Stoatchat before 0.16.5 contains an unbounded JXL image decoding vulnerability in revolt_files decode_image that allows unauthenticated attackers to exhaust memory via the january /proxy endpoint. Attackers can request a small hosted JXL file declaring 12000x12000 pixels through /proxy to trigger huge allocations, OOM-killing january and denying proxy and embed service.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com