Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
影響: 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…
| 来源 | GitHub Advisory Database |
|---|---|
| 获取时间 | 2026/10/28 06:03 |
| 数据 | Markdown JSON |
2026/10/28 01:08,GitHub Advisory Database 发布了“Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:Rust。