## Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.

- 種別: advisory
- 重大度: low
- 関連技術: rust
- 公開日時: 2026-10-27T16:08:36.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-h2v8-394m-p7vv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-h2v8-394m-p7vv

影響: rust:rustls < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 0.24.0-dev.2
The built-in (but disabled by default) Brotli certificate decoder bounds the output buffer but accepts an input-selected history window. A header of five bytes can specify a 1 GiB window allocation. A peer can abort a process whose allocator cannot satisfy that request. A client must enable Brotli and connect to the peer; a server must enable Brotli and request a client certificate. Neither direction requires a trusted attacker certificate. Details rustls calls BrotliDecompress which enables Br…