Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
stoatchat stoatchat
Default version status: unaffected
0 to < 0.16.5affected
pkg:cargo/revolt-filesReferences
- https://github.com/stoatchat/stoatchat/security/advisories/GHSA-xrgq-vmqh-cm2p ↗
- https://github.com/stoatchat/stoatchat/commit/1b9997b8876b9251dd20b85a0809ae278cb5583e ↗
- https://github.com/stoatchat/stoatchat/releases/tag/v0.16.5 ↗
- https://github.com/stoatchat/stoatchat/blob/v0.16.2/crates/core/files/src/implementation/media_impl.rs#L94-L99 ↗
- https://github.com/stoatchat/stoatchat ↗
- https://www.vulncheck.com/advisories/stoatchat-before-0.16.5-memory-exhaustion-via-january-proxy-jxl-decoding ↗